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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001325/0.001325, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001579/0.001579, allocations: 213.3 kB / 24.54 MB, free: 4.016 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.431/1.431, allocations: 230.3 MB / 258 MB, free: 8.258 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.224/0.224, allocations: 46.89 MB / 361.3 MB, free: 4.461 MB / 286.1 MB
"
[Timeout remaining time 180]
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=5078,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=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002422/0.002422, allocations: 75.88 kB / 0.4971 GB, free: 7.551 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3622/0.3646, allocations: 66.01 MB / 0.5616 GB, free: 4.645 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003504/0.3681, allocations: 1.854 MB / 0.5634 GB, free: 2.777 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001955/0.3701, allocations: 1.123 MB / 0.5645 GB, free: 1.648 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 9.77e-05/0.3702, allocations: 3.938 kB / 0.5645 GB, free: 1.645 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0005885/0.3707, allocations: 307.3 kB / 0.5648 GB, free: 1.344 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0005008/0.3712, allocations: 267.2 kB / 0.565 GB, free: 1.082 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002408/0.3715, allocations: 103.7 kB / 0.5651 GB, free: 0.9805 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0003459/0.3718, allocations: 263.2 kB / 0.5654 GB, free: 0.7227 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 6.545e-05/0.3719, allocations: 9.797 kB / 0.5654 GB, free: 0.7109 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001806/0.3721, allocations: 139.5 kB / 0.5655 GB, free: 0.5742 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002576/0.3723, allocations: 223.4 kB / 0.5657 GB, free: 364 kB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.574e-05/0.3724, allocations: 4 kB / 0.5657 GB, free: 360 kB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001174/0.3725, allocations: 47.98 kB / 0.5658 GB, free: 312 kB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001456/0.3726, allocations: 139.6 kB / 0.5659 GB, free: 172 kB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001524/0.3728, allocations: 150.7 kB / 0.5661 GB, free: 20 kB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0004477/0.3732, allocations: 384.8 kB / 0.5664 GB, free: 15.64 MB / 414.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.3732, allocations: 4 kB / 0.5664 GB, free: 15.64 MB / 414.1 MB
Notification: Performance of FrontEnd: time 1.272e-06/0.3732, allocations: 0 / 0.5664 GB, free: 15.64 MB / 414.1 MB
Notification: Performance of Transformations before backend: time 6.342e-06/0.3732, allocations: 0 / 0.5664 GB, free: 15.64 MB / 414.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.001009/0.3743, allocations: 0.6786 MB / 0.5671 GB, free: 14.93 MB / 414.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.3743, allocations: 11.97 kB / 0.5671 GB, free: 14.92 MB / 414.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 9.199e-05/0.3744, allocations: 56.59 kB / 0.5672 GB, free: 14.86 MB / 414.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006351/0.375, allocations: 402.4 kB / 0.5675 GB, free: 14.45 MB / 414.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.375, allocations: 4.375 kB / 0.5675 GB, free: 14.44 MB / 414.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.136e-05/0.3751, allocations: 12.36 kB / 0.5676 GB, free: 14.43 MB / 414.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002137/0.3753, allocations: 87.69 kB / 0.5676 GB, free: 14.33 MB / 414.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.3753, allocations: 0 / 0.5676 GB, free: 14.33 MB / 414.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.3753, allocations: 0 / 0.5676 GB, free: 14.33 MB / 414.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.3753, allocations: 4 kB / 0.5676 GB, free: 14.33 MB / 414.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001163/0.3754, allocations: 31.91 kB / 0.5677 GB, free: 14.3 MB / 414.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004176/0.3758, allocations: 357.4 kB / 0.568 GB, free: 13.9 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002796/0.3761, allocations: 97.17 kB / 0.5681 GB, free: 13.79 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.3762, allocations: 45.69 kB / 0.5682 GB, free: 13.74 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.535e-05/0.3762, allocations: 0 / 0.5682 GB, free: 13.74 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002316/0.3765, allocations: 113 kB / 0.5683 GB, free: 13.61 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=10): time 1.052e-06/0.3765, allocations: 0 / 0.5683 GB, free: 13.61 MB / 414.1 MB
Notification: Performance of matching and sorting (n=10): time 0.0004957/0.377, allocations: 197.4 kB / 0.5685 GB, free: 13.41 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.879e-05/0.377, allocations: 89.09 kB / 0.5685 GB, free: 13.3 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001216/0.3782, allocations: 1.054 MB / 0.5696 GB, free: 12.24 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.642e-05/0.3783, allocations: 25.7 kB / 0.5696 GB, free: 12.21 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001964/0.3785, allocations: 240.1 kB / 0.5698 GB, free: 11.97 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 4.928e-05/0.3785, allocations: 31.73 kB / 0.5698 GB, free: 11.94 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.035e-05/0.3786, allocations: 25.72 kB / 0.5699 GB, free: 11.91 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001946/0.3788, allocations: 370.8 kB / 0.5702 GB, free: 11.54 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 9.537e-05/0.3788, allocations: 35.86 kB / 0.5703 GB, free: 11.5 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001027/0.379, allocations: 55.42 kB / 0.5703 GB, free: 11.44 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001776/0.3791, allocations: 87.34 kB / 0.5704 GB, free: 11.34 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.3791, allocations: 0 / 0.5704 GB, free: 11.34 MB / 414.1 MB
Notification: Performance of matching and sorting (n=14) (initialization): time 0.000311/0.3794, allocations: 177.2 kB / 0.5706 GB, free: 11.16 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.3795, allocations: 4 kB / 0.5706 GB, free: 11.16 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.3795, allocations: 4 kB / 0.5706 GB, free: 11.15 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.3795, allocations: 0 / 0.5706 GB, free: 11.15 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.3796, allocations: 31.86 kB / 0.5706 GB, free: 11.12 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.952e-06/0.3796, allocations: 0 / 0.5706 GB, free: 11.12 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.93e-05/0.3797, allocations: 15.92 kB / 0.5706 GB, free: 11.11 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.3797, allocations: 4 kB / 0.5706 GB, free: 11.1 MB / 414.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.0002425/0.38, allocations: 227.6 kB / 0.5708 GB, free: 10.87 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8.359e-05/0.38, allocations: 63.55 kB / 0.5709 GB, free: 10.81 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004002/0.3804, allocations: 197.8 kB / 0.5711 GB, free: 10.61 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/0.3805, allocations: 4 kB / 0.5711 GB, free: 10.6 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.3805, allocations: 0 / 0.5711 GB, free: 10.6 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.3805, allocations: 0 / 0.5711 GB, free: 10.6 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003677/0.3808, allocations: 320.5 kB / 0.5714 GB, free: 10.25 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.3808, allocations: 0 / 0.5714 GB, free: 10.25 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.081e-05/0.3809, allocations: 19.86 kB / 0.5714 GB, free: 10.23 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.3809, allocations: 4 kB / 0.5714 GB, free: 10.22 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.3809, allocations: 4 kB / 0.5714 GB, free: 10.22 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3809, allocations: 0 / 0.5714 GB, free: 10.22 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3809, allocations: 0 / 0.5714 GB, free: 10.22 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003534/0.3813, allocations: 213.5 kB / 0.5716 GB, free: 9.988 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001338/0.3814, allocations: 71.53 kB / 0.5717 GB, free: 9.918 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.636e-05/0.3814, allocations: 11.98 kB / 0.5717 GB, free: 9.906 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.864e-05/0.3815, allocations: 4 kB / 0.5717 GB, free: 9.902 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.668e-05/0.3816, allocations: 15.92 kB / 0.5717 GB, free: 9.887 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.3816, allocations: 4 kB / 0.5717 GB, free: 9.883 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0008608/0.3825, allocations: 0.7877 MB / 0.5725 GB, free: 9.098 MB / 414.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.3825, allocations: 0 / 0.5725 GB, free: 9.098 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0002655/0.3827, allocations: 47.98 kB / 0.5725 GB, free: 9.051 MB / 414.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.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 (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.001453/0.3842, allocations: 403.7 kB / 0.5729 GB, free: 8.789 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.000259/0.3844, allocations: 79.91 kB / 0.573 GB, free: 8.711 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3844, allocations: 0 / 0.573 GB, free: 8.711 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001112/0.3846, allocations: 43.91 kB / 0.5731 GB, free: 8.668 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004197/0.385, allocations: 84.33 kB / 0.5731 GB, free: 8.594 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001249/0.3862, allocations: 0.8857 MB / 0.574 GB, free: 7.68 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004977/0.3867, allocations: 0.8507 MB / 0.5748 GB, free: 6.805 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 0.0001122/0.3868, allocations: 59.44 kB / 0.5749 GB, free: 6.746 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.864e-05/0.3869, allocations: 27.44 kB / 0.5749 GB, free: 6.723 MB / 414.1 MB
Notification: Performance of SimCode: time 3e-07/0.3869, allocations: 4 kB / 0.5749 GB, free: 6.719 MB / 414.1 MB
Notification: Performance of Templates: time 0.008564/0.3955, allocations: 3.912 MB / 0.5787 GB, free: 2.816 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.makefile [Timeout 660]
(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) [Timeout 480]
diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660]
""
[Timeout remaining time 660]
Reference file matches
[Calling sys.exit(0), Time elapsed: 5.191942347213626]