Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001699/0.001699, allocations: 109.1 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00216/0.00216, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.246/2.246, allocations: 227.3 MB / 246.9 MB, free: 10.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3692/0.3692, allocations: 46.11 MB / 344.3 MB, free: 11.79 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002818/0.002818, allocations: 79.47 kB / 417.5 MB, free: 20.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1783/0.1811, allocations: 62.43 MB / 479.9 MB, free: 5.715 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.005375/0.1865, allocations: 1.886 MB / 481.8 MB, free: 3.812 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002981/0.1896, allocations: 1.095 MB / 482.9 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001808/0.1898, allocations: 3.938 kB / 482.9 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007951/0.1906, allocations: 307.4 kB / 483.2 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007253/0.1914, allocations: 231.4 kB / 483.4 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004541/0.1919, allocations: 87.78 kB / 483.5 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005572/0.1925, allocations: 251.3 kB / 483.8 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.479e-05/0.1926, allocations: 21.66 kB / 483.8 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000316/0.1929, allocations: 119.6 kB / 483.9 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003925/0.1933, allocations: 191.4 kB / 484.1 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.375e-05/0.1934, allocations: 4 kB / 484.1 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001927/0.1936, allocations: 39.98 kB / 484.1 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002208/0.1938, allocations: 135.6 kB / 484.3 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002452/0.1941, allocations: 154.7 kB / 484.4 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005314/0.1946, allocations: 283.9 kB / 484.7 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.1946, allocations: 0 / 484.7 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1946, allocations: 0 / 484.7 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.366e-05/0.1947, allocations: 0 / 484.7 MB, free: 0.9219 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001519/0.1962, allocations: 0.7424 MB / 485.4 MB, free: 132 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.457e-05/0.1963, allocations: 16.86 kB / 485.5 MB, free: 116 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001624/0.1964, allocations: 48.28 kB / 485.5 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009164/0.1974, allocations: 455.7 kB / 486 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.235e-05/0.1974, allocations: 4.375 kB / 486 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.134e-05/0.1974, allocations: 4.125 kB / 486 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002957/0.1977, allocations: 87.36 kB / 486 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.1978, allocations: 4 kB / 486.1 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.718e-05/0.1978, allocations: 0 / 486.1 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.1978, allocations: 0 / 486.1 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001712/0.198, allocations: 35.91 kB / 486.1 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006501/0.1986, allocations: 378.4 kB / 486.5 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004226/0.1991, allocations: 105.2 kB / 486.6 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001538/0.1993, allocations: 45.58 kB / 486.6 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.1993, allocations: 4 kB / 486.6 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004064/0.1997, allocations: 109.1 kB / 486.7 MB, free: 14.71 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 2.244e-06/0.1997, allocations: 0 / 486.7 MB, free: 14.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007891/0.2005, allocations: 205.3 kB / 486.9 MB, free: 14.51 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.294e-05/0.2006, allocations: 81.11 kB / 487 MB, free: 14.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001912/0.2025, allocations: 1.058 MB / 488.1 MB, free: 13.34 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.948e-05/0.2026, allocations: 25.7 kB / 488.1 MB, free: 13.31 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002752/0.2029, allocations: 236.1 kB / 488.3 MB, free: 13.08 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.311e-05/0.203, allocations: 35.58 kB / 488.3 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.852e-05/0.203, allocations: 29.7 kB / 488.4 MB, free: 13.01 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002226/0.2033, allocations: 370.8 kB / 488.7 MB, free: 12.64 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001437/0.2034, allocations: 23.98 kB / 488.8 MB, free: 12.61 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001638/0.2036, allocations: 55.41 kB / 488.8 MB, free: 12.55 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003032/0.2039, allocations: 95.42 kB / 488.9 MB, free: 12.44 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.2039, allocations: 0 / 488.9 MB, free: 12.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.00052/0.2045, allocations: 172.9 kB / 489.1 MB, free: 12.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.941e-05/0.2045, allocations: 4 kB / 489.1 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.2045, allocations: 0 / 489.1 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.225e-05/0.2046, allocations: 4 kB / 489.1 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001951/0.2048, allocations: 31.98 kB / 489.1 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.2048, allocations: 4 kB / 489.1 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001846/0.205, allocations: 11.84 kB / 489.1 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.616e-05/0.205, allocations: 4 kB / 489.1 MB, free: 12.21 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003486/0.2054, allocations: 226.6 kB / 489.4 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/0.2055, allocations: 47.34 kB / 489.4 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001323/0.2056, allocations: 60.14 kB / 489.5 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/0.2057, allocations: 4 kB / 489.5 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.2057, allocations: 4 kB / 489.5 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.2057, allocations: 0 / 489.5 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004801/0.2062, allocations: 345.4 kB / 489.8 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.2062, allocations: 3.984 kB / 489.8 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.196e-05/0.2063, allocations: 12.06 kB / 489.8 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.818e-06/0.2063, allocations: 0 / 489.8 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.033e-05/0.2063, allocations: 8 kB / 489.8 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.2063, allocations: 0 / 489.8 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.2063, allocations: 0 / 489.8 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005472/0.2069, allocations: 213.2 kB / 490 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000202/0.2071, allocations: 140.4 kB / 490.2 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.69e-05/0.2072, allocations: 0 / 490.2 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/0.2074, allocations: 4.094 kB / 490.2 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.619e-05/0.2074, allocations: 15.92 kB / 490.2 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.943e-05/0.2075, allocations: 4 kB / 490.2 MB, free: 11.04 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001366/0.2089, allocations: 0.78 MB / 491 MB, free: 10.26 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.726e-06/0.2089, allocations: 8 kB / 491 MB, free: 10.25 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005126/0.2094, allocations: 51.92 kB / 491 MB, free: 10.2 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001617/0.211, allocations: 416.8 kB / 491.4 MB, free: 9.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004393/0.2115, allocations: 83.84 kB / 491.5 MB, free: 9.848 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.2115, allocations: 0 / 491.5 MB, free: 9.848 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000181/0.2117, allocations: 39.97 kB / 491.6 MB, free: 9.809 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007472/0.2125, allocations: 73.72 kB / 491.6 MB, free: 9.742 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002286/0.2148, allocations: 1.014 MB / 492.6 MB, free: 8.688 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006863/0.2155, allocations: 0.8469 MB / 493.5 MB, free: 7.812 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001259/0.2156, allocations: 31.42 kB / 493.5 MB, free: 7.781 MB / 366.1 MB Notification: Performance of SimCode: time 8.42e-07/0.2156, allocations: 0 / 493.5 MB, free: 7.781 MB / 366.1 MB Notification: Performance of Templates: time 0.01443/0.2301, allocations: 5.144 MB / 498.7 MB, free: 2.637 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches