Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001151/0.001156, allocations: 195.7 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.445/1.445, allocations: 226.5 MB / 245.4 MB, free: 8.25 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008035/0.0008035, allocations: 102.3 kB / 297.5 MB, free: 6.922 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3864/0.3864, allocations: 44.82 MB / 394.3 MB, free: 35.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003032/0.0003034, allocations: 8 kB / 467.9 MB, free: 12.06 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3704/0.3707, allocations: 62.96 MB / 0.5184 GB, free: 37.38 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1325/0.5033, allocations: 90.49 MB / 0.6068 GB, free: 14.84 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003101/0.5037, allocations: 75.95 kB / 0.6069 GB, free: 14.77 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02249/0.5262, allocations: 7.619 MB / 0.6143 GB, free: 7.133 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.5263, allocations: 0 / 0.6143 GB, free: 7.133 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.607e-05/0.5263, allocations: 11.94 kB / 0.6143 GB, free: 7.121 MB / 426.7 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.001422/0.5278, allocations: 0.7465 MB / 0.6151 GB, free: 6.32 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.372e-05/0.5278, allocations: 16.03 kB / 0.6151 GB, free: 6.305 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001963/0.528, allocations: 60.25 kB / 0.6151 GB, free: 6.246 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001027/0.5291, allocations: 0.5075 MB / 0.6156 GB, free: 5.699 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.653e-05/0.5291, allocations: 8.312 kB / 0.6156 GB, free: 5.691 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.951e-05/0.5292, allocations: 384 / 0.6156 GB, free: 5.691 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002141/0.5294, allocations: 95.84 kB / 0.6157 GB, free: 5.586 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.5294, allocations: 192 / 0.6157 GB, free: 5.586 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.818e-05/0.5294, allocations: 7.938 kB / 0.6157 GB, free: 5.578 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.5294, allocations: 7.938 kB / 0.6157 GB, free: 5.57 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001166/0.5296, allocations: 35.97 kB / 0.6158 GB, free: 5.535 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004971/0.5301, allocations: 378.4 kB / 0.6161 GB, free: 5.113 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002695/0.5303, allocations: 113.2 kB / 0.6162 GB, free: 4.984 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.299e-05/0.5305, allocations: 41.69 kB / 0.6163 GB, free: 4.938 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.775e-05/0.5305, allocations: 0 / 0.6163 GB, free: 4.938 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002326/0.5307, allocations: 109 kB / 0.6164 GB, free: 4.812 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 1.623e-06/0.5307, allocations: 4 kB / 0.6164 GB, free: 4.809 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005554/0.5313, allocations: 208.8 kB / 0.6166 GB, free: 4.598 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.053e-05/0.5314, allocations: 81.11 kB / 0.6167 GB, free: 4.5 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001534/0.5329, allocations: 1.026 MB / 0.6177 GB, free: 3.465 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.5329, allocations: 29.7 kB / 0.6177 GB, free: 3.43 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001734/0.5331, allocations: 240.1 kB / 0.6179 GB, free: 3.191 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.267e-05/0.5332, allocations: 27.64 kB / 0.6179 GB, free: 3.164 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.08e-06/0.5332, allocations: 4 kB / 0.618 GB, free: 3.16 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.5334, allocations: 370.8 kB / 0.6183 GB, free: 2.789 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.848e-05/0.5335, allocations: 27.98 kB / 0.6183 GB, free: 2.762 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.19e-05/0.5336, allocations: 63.34 kB / 0.6184 GB, free: 2.688 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001809/0.5338, allocations: 95.84 kB / 0.6185 GB, free: 2.582 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.5338, allocations: 0 / 0.6185 GB, free: 2.582 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003425/0.5341, allocations: 172.9 kB / 0.6186 GB, free: 2.406 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.5341, allocations: 11.94 kB / 0.6187 GB, free: 2.395 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.5342, allocations: 0 / 0.6187 GB, free: 2.395 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.5342, allocations: 4 kB / 0.6187 GB, free: 2.391 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.5343, allocations: 23.98 kB / 0.6187 GB, free: 2.367 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.5343, allocations: 3.938 kB / 0.6187 GB, free: 2.363 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001382/0.5345, allocations: 15.97 kB / 0.6187 GB, free: 2.348 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.5345, allocations: 4 kB / 0.6187 GB, free: 2.344 MB / 426.7 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 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002385/0.5347, allocations: 221.8 kB / 0.6189 GB, free: 2.117 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.908e-05/0.5348, allocations: 59.28 kB / 0.619 GB, free: 2.059 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003983/0.5352, allocations: 201.7 kB / 0.6192 GB, free: 1.855 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.5353, allocations: 7.938 kB / 0.6192 GB, free: 1.848 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.5353, allocations: 4 kB / 0.6192 GB, free: 1.844 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.5353, allocations: 3.984 kB / 0.6192 GB, free: 1.84 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004089/0.5357, allocations: 393.3 kB / 0.6196 GB, free: 1.406 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.5357, allocations: 0 / 0.6196 GB, free: 1.406 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.715e-05/0.5358, allocations: 15.94 kB / 0.6196 GB, free: 1.391 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.735e-06/0.5358, allocations: 11.91 kB / 0.6196 GB, free: 1.379 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.5358, allocations: 4 kB / 0.6196 GB, free: 1.375 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.5358, allocations: 0 / 0.6196 GB, free: 1.375 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.5358, allocations: 3.938 kB / 0.6196 GB, free: 1.371 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003687/0.5362, allocations: 224.8 kB / 0.6198 GB, free: 1.133 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002474/0.5365, allocations: 196.4 kB / 0.62 GB, free: 0.9219 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.006e-05/0.5365, allocations: 7.938 kB / 0.62 GB, free: 0.9141 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.371e-05/0.5366, allocations: 4 kB / 0.62 GB, free: 0.9102 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.12e-05/0.5367, allocations: 11.98 kB / 0.62 GB, free: 0.8984 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.5367, allocations: 4 kB / 0.62 GB, free: 0.8945 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009857/0.5377, allocations: 0.7643 MB / 0.6208 GB, free: 136 kB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5377, allocations: 4 kB / 0.6208 GB, free: 132 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003503/0.5381, allocations: 87.92 kB / 0.6209 GB, free: 44 kB / 426.7 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.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001046/0.5391, allocations: 415.6 kB / 0.6213 GB, free: 15.78 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002586/0.5394, allocations: 88.02 kB / 0.6213 GB, free: 15.69 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.5394, allocations: 0 / 0.6213 GB, free: 15.69 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001148/0.5395, allocations: 52.05 kB / 0.6214 GB, free: 15.64 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005263/0.5401, allocations: 73.33 kB / 0.6215 GB, free: 15.57 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001674/0.5417, allocations: 1.022 MB / 0.6225 GB, free: 14.51 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004825/0.5422, allocations: 0.8468 MB / 0.6233 GB, free: 13.64 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001923/0.5424, allocations: 86.95 kB / 0.6234 GB, free: 13.55 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/0.5426, allocations: 43.42 kB / 0.6234 GB, free: 13.51 MB / 442.7 MB Notification: Performance of SimCode: time 6.41e-07/0.5426, allocations: 0 / 0.6234 GB, free: 13.51 MB / 442.7 MB Notification: Performance of Templates: time 0.01007/0.5526, allocations: 4.651 MB / 0.6279 GB, free: 8.879 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches