Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001416/0.001416, allocations: 116.2 kB / 18.46 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001623/0.001623, allocations: 210 kB / 19.4 MB, free: 3.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.534/1.534, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2141/0.2141, allocations: 46.11 MB / 345 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 71.89 kB / 482.1 MB, free: 3.984 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3623/0.3638, allocations: 62.45 MB / 0.5317 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.003073/0.3669, allocations: 1.681 MB / 0.5334 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001619/0.3685, allocations: 0.9978 MB / 0.5344 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.964e-05/0.3686, allocations: 1.406 kB / 0.5344 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000311/0.3689, allocations: 53.84 kB / 0.5344 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003119/0.3693, allocations: 102.1 kB / 0.5345 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001842/0.3694, allocations: 74.55 kB / 0.5346 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001694/0.3696, allocations: 106.4 kB / 0.5347 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.508e-05/0.3697, allocations: 8.625 kB / 0.5347 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.442e-05/0.3698, allocations: 49.72 kB / 0.5347 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.196e-05/0.3699, allocations: 41.17 kB / 0.5348 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.3699, allocations: 3.312 kB / 0.5348 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.043e-05/0.37, allocations: 29.02 kB / 0.5348 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.644e-05/0.3701, allocations: 21.42 kB / 0.5348 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.725e-05/0.3701, allocations: 35.86 kB / 0.5349 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002068/0.3703, allocations: 107.4 kB / 0.535 GB, free: 11.08 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.3703, allocations: 0 / 0.535 GB, free: 11.08 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3704, allocations: 0.9688 kB / 0.535 GB, free: 11.08 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.3704, allocations: 0 / 0.535 GB, free: 11.08 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005463/0.3709, allocations: 403.9 kB / 0.5353 GB, free: 10.66 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.371, allocations: 9.656 kB / 0.5354 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.039e-05/0.371, allocations: 13.25 kB / 0.5354 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00027/0.3713, allocations: 214.7 kB / 0.5356 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.3713, allocations: 1.5 kB / 0.5356 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.41e-05/0.3713, allocations: 6.281 kB / 0.5356 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.3715, allocations: 50.92 kB / 0.5356 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.3715, allocations: 1.094 kB / 0.5356 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.637e-06/0.3715, allocations: 4 kB / 0.5356 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.3715, allocations: 1.125 kB / 0.5356 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.989e-05/0.3716, allocations: 16.11 kB / 0.5356 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002028/0.3718, allocations: 178.8 kB / 0.5358 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001613/0.372, allocations: 53.95 kB / 0.5359 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.5e-05/0.372, allocations: 22.05 kB / 0.5359 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.3721, allocations: 7.938 kB / 0.5359 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001449/0.3722, allocations: 64.95 kB / 0.536 GB, free: 10.02 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.313e-06/0.3722, allocations: 0 / 0.536 GB, free: 10.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002834/0.3725, allocations: 99.72 kB / 0.5361 GB, free: 9.953 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.579e-05/0.3726, allocations: 51.41 kB / 0.5361 GB, free: 9.891 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001873/0.3728, allocations: 177.9 kB / 0.5363 GB, free: 9.754 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.3728, allocations: 31.08 kB / 0.5363 GB, free: 9.719 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.498e-05/0.3729, allocations: 104.2 kB / 0.5364 GB, free: 9.617 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.978e-05/0.3729, allocations: 14.56 kB / 0.5364 GB, free: 9.605 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.905e-05/0.3729, allocations: 21.83 kB / 0.5364 GB, free: 9.582 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.3731, allocations: 323 kB / 0.5367 GB, free: 9.262 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.781e-05/0.3731, allocations: 10.88 kB / 0.5368 GB, free: 9.258 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.598e-05/0.3732, allocations: 32.7 kB / 0.5368 GB, free: 9.23 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001077/0.3733, allocations: 50.45 kB / 0.5368 GB, free: 9.191 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3733, allocations: 5.312 kB / 0.5368 GB, free: 9.188 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001441/0.3735, allocations: 78.41 kB / 0.5369 GB, free: 9.133 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.3735, allocations: 9.406 kB / 0.5369 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.3735, allocations: 1.188 kB / 0.5369 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.3735, allocations: 1.062 kB / 0.5369 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.531e-05/0.3736, allocations: 12.44 kB / 0.5369 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.3736, allocations: 1.219 kB / 0.5369 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.951e-05/0.3737, allocations: 18.42 kB / 0.537 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.3737, allocations: 1.344 kB / 0.537 GB, free: 9.109 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001047/0.3738, allocations: 127.2 kB / 0.5371 GB, free: 8.984 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.129e-05/0.3738, allocations: 9.469 kB / 0.5371 GB, free: 8.98 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.81e-05/0.3739, allocations: 12.7 kB / 0.5371 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.3739, allocations: 1.344 kB / 0.5371 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3739, allocations: 0 / 0.5371 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.3739, allocations: 0 / 0.5371 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001484/0.374, allocations: 189.4 kB / 0.5373 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.374, allocations: 7.984 kB / 0.5373 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.921e-05/0.3741, allocations: 3 kB / 0.5373 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.3741, allocations: 3.984 kB / 0.5373 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.3741, allocations: 5.469 kB / 0.5373 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.3741, allocations: 1.688 kB / 0.5373 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3741, allocations: 0 / 0.5373 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001795/0.3743, allocations: 112.4 kB / 0.5374 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.841e-05/0.3743, allocations: 87.8 kB / 0.5375 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.15e-05/0.3744, allocations: 9.344 kB / 0.5375 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.305e-05/0.3744, allocations: 1.406 kB / 0.5375 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.981e-05/0.3745, allocations: 6.828 kB / 0.5375 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.3745, allocations: 6.406 kB / 0.5375 GB, free: 8.52 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001196/0.3746, allocations: 138.5 kB / 0.5376 GB, free: 8.418 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3746, allocations: 1.062 kB / 0.5376 GB, free: 8.418 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000216/0.3748, allocations: 16.59 kB / 0.5377 GB, free: 8.414 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009613/0.3758, allocations: 392.6 kB / 0.538 GB, free: 8.207 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001602/0.376, allocations: 47.8 kB / 0.5381 GB, free: 8.184 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.376, allocations: 0 / 0.5381 GB, free: 8.184 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.197e-05/0.376, allocations: 20.55 kB / 0.5381 GB, free: 8.176 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002546/0.3763, allocations: 36.23 kB / 0.5381 GB, free: 8.16 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004504/0.3768, allocations: 220.5 kB / 0.5383 GB, free: 7.969 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000295/0.3771, allocations: 0.7033 MB / 0.539 GB, free: 7.258 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.156e-05/0.3771, allocations: 13.88 kB / 0.539 GB, free: 7.254 MB / 398.1 MB Notification: Performance of SimCode: time 1.543e-06/0.3771, allocations: 0 / 0.539 GB, free: 7.254 MB / 398.1 MB Notification: Performance of Templates: time 0.00365/0.3808, allocations: 1.716 MB / 0.5407 GB, free: 6.363 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches