Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009764/0.0009765, allocations: 122.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001016/0.001016, allocations: 205.2 kB / 18.73 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2133/0.2133, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001319, allocations: 75.89 kB / 481.4 MB, free: 4.016 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3627/0.364, allocations: 62.43 MB / 0.5311 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.002998/0.3671, allocations: 1.742 MB / 0.5328 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002479/0.3696, allocations: 1.621 MB / 0.5344 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.017e-05/0.3696, allocations: 5.562 kB / 0.5344 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002944/0.37, allocations: 32.44 kB / 0.5344 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003204/0.3703, allocations: 108.1 kB / 0.5345 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002024/0.3705, allocations: 75.23 kB / 0.5346 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001759/0.3707, allocations: 105.5 kB / 0.5347 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.3708, allocations: 7.719 kB / 0.5347 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.803e-05/0.3709, allocations: 49.16 kB / 0.5347 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001481/0.3711, allocations: 46.45 kB / 0.5348 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.042e-05/0.3711, allocations: 8.625 kB / 0.5348 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001812/0.3713, allocations: 115.8 kB / 0.5349 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.837e-05/0.3713, allocations: 24.52 kB / 0.5349 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.988e-05/0.3714, allocations: 31.73 kB / 0.5349 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002749/0.3717, allocations: 167.2 kB / 0.5351 GB, free: 10.5 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.3717, allocations: 4 kB / 0.5351 GB, free: 10.5 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3717, allocations: 0 / 0.5351 GB, free: 10.5 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.65e-06/0.3717, allocations: 0 / 0.5351 GB, free: 10.5 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005749/0.3723, allocations: 428.5 kB / 0.5355 GB, free: 10.06 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.3724, allocations: 10.06 kB / 0.5355 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.953e-05/0.3724, allocations: 9.531 kB / 0.5355 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002648/0.3727, allocations: 216.3 kB / 0.5357 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.3727, allocations: 6 kB / 0.5357 GB, free: 9.82 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.857e-05/0.3727, allocations: 2.062 kB / 0.5357 GB, free: 9.82 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001632/0.3729, allocations: 65.64 kB / 0.5358 GB, free: 9.758 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.3729, allocations: 1.312 kB / 0.5358 GB, free: 9.758 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.3729, allocations: 0 / 0.5358 GB, free: 9.758 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-06/0.373, allocations: 1.125 kB / 0.5358 GB, free: 9.758 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.869e-05/0.373, allocations: 22.14 kB / 0.5358 GB, free: 9.746 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003702/0.3734, allocations: 297.3 kB / 0.5361 GB, free: 9.426 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00017/0.3736, allocations: 50 kB / 0.5362 GB, free: 9.391 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.617e-05/0.3737, allocations: 26.47 kB / 0.5362 GB, free: 9.371 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.435e-05/0.3737, allocations: 0 / 0.5362 GB, free: 9.371 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001655/0.3739, allocations: 70.45 kB / 0.5362 GB, free: 9.305 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.3739, allocations: 0 / 0.5362 GB, free: 9.305 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006441/0.3745, allocations: 173 kB / 0.5364 GB, free: 9.203 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.171e-05/0.3746, allocations: 82.42 kB / 0.5365 GB, free: 9.105 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001791/0.3748, allocations: 166.3 kB / 0.5367 GB, free: 8.969 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/0.3748, allocations: 31.27 kB / 0.5367 GB, free: 8.934 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.297e-05/0.3749, allocations: 99.09 kB / 0.5368 GB, free: 8.836 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.919e-05/0.3749, allocations: 24.31 kB / 0.5368 GB, free: 8.816 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.659e-05/0.375, allocations: 29.2 kB / 0.5368 GB, free: 8.789 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.3751, allocations: 321.5 kB / 0.5371 GB, free: 8.469 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.718e-05/0.3752, allocations: 14.75 kB / 0.5371 GB, free: 8.465 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.715e-05/0.3753, allocations: 45 kB / 0.5372 GB, free: 8.426 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/0.3754, allocations: 62.73 kB / 0.5373 GB, free: 8.383 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.3754, allocations: 1.188 kB / 0.5373 GB, free: 8.383 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002085/0.3756, allocations: 103.4 kB / 0.5373 GB, free: 8.316 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.3757, allocations: 9.375 kB / 0.5374 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.3757, allocations: 0 / 0.5374 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.3757, allocations: 5.062 kB / 0.5374 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.3758, allocations: 18.16 kB / 0.5374 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.3758, allocations: 3.938 kB / 0.5374 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.216e-05/0.3759, allocations: 7.203 kB / 0.5374 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.3759, allocations: 6.219 kB / 0.5374 GB, free: 8.293 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 (10): * Single equations (assignments): 10 * 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.0001235/0.376, allocations: 120.2 kB / 0.5375 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.974e-05/0.3761, allocations: 13.12 kB / 0.5375 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.924e-05/0.3761, allocations: 17.05 kB / 0.5375 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.3761, allocations: 4.984 kB / 0.5375 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.882e-06/0.3761, allocations: 3.938 kB / 0.5375 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.3762, allocations: 1.062 kB / 0.5376 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004449/0.3766, allocations: 395.7 kB / 0.5379 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3766, allocations: 1.531 kB / 0.5379 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.384e-05/0.3767, allocations: 14.75 kB / 0.5379 GB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.3767, allocations: 1.062 kB / 0.5379 GB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.3767, allocations: 1.25 kB / 0.5379 GB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.3767, allocations: 5.391 kB / 0.538 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.3767, allocations: 1.156 kB / 0.538 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002361/0.3769, allocations: 199.8 kB / 0.5381 GB, free: 7.574 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.925e-05/0.377, allocations: 87.64 kB / 0.5382 GB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.581e-05/0.377, allocations: 10.47 kB / 0.5382 GB, free: 7.465 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.646e-05/0.3771, allocations: 6.266 kB / 0.5382 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.356e-05/0.3772, allocations: 2.688 kB / 0.5382 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-05/0.3772, allocations: 3.594 kB / 0.5382 GB, free: 7.461 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001105/0.3773, allocations: 127 kB / 0.5384 GB, free: 7.363 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.873e-06/0.3773, allocations: 1.156 kB / 0.5384 GB, free: 7.363 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002919/0.3776, allocations: 54.05 kB / 0.5384 GB, free: 7.34 MB / 398.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.001211/0.3788, allocations: 0.5421 MB / 0.539 GB, free: 7.059 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002043/0.379, allocations: 66.48 kB / 0.539 GB, free: 7.027 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.379, allocations: 1.062 kB / 0.539 GB, free: 7.027 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.559e-05/0.3791, allocations: 33.08 kB / 0.539 GB, free: 7.012 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003247/0.3795, allocations: 29.42 kB / 0.5391 GB, free: 6.996 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004358/0.3799, allocations: 196.2 kB / 0.5393 GB, free: 6.828 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002687/0.3802, allocations: 0.698 MB / 0.5399 GB, free: 6.121 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.984e-05/0.3803, allocations: 20.25 kB / 0.54 GB, free: 6.105 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.565e-05/0.3803, allocations: 20.14 kB / 0.54 GB, free: 6.094 MB / 398.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3803, allocations: 0 / 0.54 GB, free: 6.094 MB / 398.1 MB Notification: Performance of Templates: time 0.005016/0.3853, allocations: 2.365 MB / 0.5423 GB, free: 4.887 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches