Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.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.0013/0.0013, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001396/0.001396, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.473/1.473, allocations: 230.3 MB / 257.9 MB, free: 8.242 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.2167/0.2167, allocations: 46.88 MB / 361.3 MB, free: 4.453 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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13")
translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002252/0.002252, allocations: 75.88 kB / 0.4971 GB, free: 7.539 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3695/0.3717, allocations: 66.03 MB / 0.5616 GB, free: 4.625 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003311/0.375, allocations: 1.958 MB / 0.5635 GB, free: 2.656 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.00183/0.3769, allocations: 1.088 MB / 0.5646 GB, free: 1.562 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.377, allocations: 3.938 kB / 0.5646 GB, free: 1.559 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0003109/0.3773, allocations: 43.7 kB / 0.5646 GB, free: 1.516 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0003672/0.3776, allocations: 103.5 kB / 0.5647 GB, free: 1.414 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002866/0.3779, allocations: 91.72 kB / 0.5648 GB, free: 1.324 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002438/0.3782, allocations: 155.5 kB / 0.5649 GB, free: 1.172 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.3783, allocations: 25.41 kB / 0.565 GB, free: 1.145 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.3784, allocations: 59.72 kB / 0.565 GB, free: 1.086 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.3785, allocations: 59.69 kB / 0.5651 GB, free: 1.027 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.431e-05/0.3785, allocations: 8 kB / 0.5651 GB, free: 1.02 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001205/0.3787, allocations: 47.92 kB / 0.5651 GB, free: 0.9727 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 6.821e-05/0.3787, allocations: 31.84 kB / 0.5652 GB, free: 0.9414 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 8.557e-05/0.3788, allocations: 51.62 kB / 0.5652 GB, free: 0.8906 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002601/0.3791, allocations: 146.2 kB / 0.5654 GB, free: 0.75 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.3791, allocations: 0 / 0.5654 GB, free: 0.75 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.142e-06/0.3791, allocations: 4 kB / 0.5654 GB, free: 0.7461 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 5.46e-06/0.3791, allocations: 4 kB / 0.5654 GB, free: 0.7422 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: 15
 * Number of variables: 15
Notification: Performance of Generate backend data structure: time 0.0006571/0.3797, allocations: 418.9 kB / 0.5658 GB, free: 304 kB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.3798, allocations: 8.031 kB / 0.5658 GB, free: 296 kB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.45e-05/0.3798, allocations: 16.84 kB / 0.5658 GB, free: 280 kB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.00032/0.3801, allocations: 171.1 kB / 0.5659 GB, free: 80 kB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.3802, allocations: 384 / 0.5659 GB, free: 80 kB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.335e-05/0.3802, allocations: 12.38 kB / 0.566 GB, free: 68 kB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002596/0.3804, allocations: 112.5 kB / 0.5661 GB, free: 15.94 MB / 414.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.3805, allocations: 0 / 0.5661 GB, free: 15.94 MB / 414.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.3805, allocations: 4 kB / 0.5661 GB, free: 15.94 MB / 414.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.3805, allocations: 4 kB / 0.5661 GB, free: 15.93 MB / 414.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001502/0.3806, allocations: 47.91 kB / 0.5661 GB, free: 15.89 MB / 414.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006148/0.3812, allocations: 488.1 kB / 0.5666 GB, free: 15.36 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003245/0.3816, allocations: 86.59 kB / 0.5667 GB, free: 15.27 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 9.951e-05/0.3817, allocations: 36.84 kB / 0.5667 GB, free: 15.23 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.3817, allocations: 0 / 0.5667 GB, free: 15.23 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001965/0.3819, allocations: 83.38 kB / 0.5668 GB, free: 15.13 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=9): time 1.303e-06/0.3819, allocations: 0 / 0.5668 GB, free: 15.13 MB / 414.1 MB
Notification: Performance of matching and sorting (n=9): time 0.0004022/0.3823, allocations: 141.5 kB / 0.5669 GB, free: 14.99 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.694e-05/0.3823, allocations: 63.34 kB / 0.567 GB, free: 14.91 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002082/0.3825, allocations: 207 kB / 0.5672 GB, free: 14.7 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.3826, allocations: 29.7 kB / 0.5672 GB, free: 14.67 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 8.635e-05/0.3826, allocations: 116.1 kB / 0.5673 GB, free: 14.55 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.355e-05/0.3827, allocations: 36.09 kB / 0.5673 GB, free: 14.52 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.175e-05/0.3827, allocations: 29.7 kB / 0.5674 GB, free: 14.48 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001372/0.3829, allocations: 322.8 kB / 0.5677 GB, free: 14.16 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 9.079e-05/0.383, allocations: 27.98 kB / 0.5677 GB, free: 14.13 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.3831, allocations: 75.2 kB / 0.5678 GB, free: 14.04 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001966/0.3833, allocations: 100.2 kB / 0.5679 GB, free: 13.93 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3833, allocations: 0 / 0.5679 GB, free: 13.93 MB / 414.1 MB
Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002828/0.3836, allocations: 137.4 kB / 0.568 GB, free: 13.79 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.3836, allocations: 4 kB / 0.568 GB, free: 13.79 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.3836, allocations: 4 kB / 0.568 GB, free: 13.78 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.3836, allocations: 0 / 0.568 GB, free: 13.78 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.3837, allocations: 27.92 kB / 0.568 GB, free: 13.75 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-06/0.3837, allocations: 0 / 0.568 GB, free: 13.75 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.955e-05/0.3838, allocations: 20 kB / 0.5681 GB, free: 13.73 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.3838, allocations: 4 kB / 0.5681 GB, free: 13.73 MB / 414.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 5
 * Number of states: 0 ()
 * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset)
 * 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.000121/0.3839, allocations: 135.6 kB / 0.5682 GB, free: 13.59 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.79e-05/0.3839, allocations: 11.91 kB / 0.5682 GB, free: 13.58 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002964/0.3842, allocations: 135 kB / 0.5683 GB, free: 13.44 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.3842, allocations: 0 / 0.5683 GB, free: 13.44 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.984e-06/0.3842, allocations: 3.984 kB / 0.5683 GB, free: 13.43 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.3842, allocations: 7.938 kB / 0.5683 GB, free: 13.43 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000181/0.3844, allocations: 184.7 kB / 0.5685 GB, free: 13.2 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3844, allocations: 0 / 0.5685 GB, free: 13.2 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.642e-05/0.3845, allocations: 8 kB / 0.5685 GB, free: 13.2 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.3845, allocations: 4.188 kB / 0.5685 GB, free: 13.19 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.3845, allocations: 7.922 kB / 0.5685 GB, free: 13.18 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3845, allocations: 3.938 kB / 0.5685 GB, free: 13.18 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3845, allocations: 0 / 0.5685 GB, free: 13.18 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004/0.3849, allocations: 184.9 kB / 0.5687 GB, free: 12.98 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.422e-05/0.3849, allocations: 11.94 kB / 0.5687 GB, free: 12.97 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.857e-05/0.385, allocations: 8 kB / 0.5687 GB, free: 12.96 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.293e-05/0.385, allocations: 7.984 kB / 0.5687 GB, free: 12.95 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.128e-05/0.3851, allocations: 7.922 kB / 0.5688 GB, free: 12.95 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/0.3851, allocations: 4 kB / 0.5688 GB, free: 12.94 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0001363/0.3852, allocations: 143.2 kB / 0.5689 GB, free: 12.8 MB / 414.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.3852, allocations: 0 / 0.5689 GB, free: 12.8 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.000239/0.3855, allocations: 32 kB / 0.5689 GB, free: 12.77 MB / 414.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 1 (err1.y)
 * 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 (9):
 * Single equations (assignments): 7
 * 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.001468/0.3869, allocations: 405.4 kB / 0.5693 GB, free: 12.5 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002684/0.3872, allocations: 71.89 kB / 0.5694 GB, free: 12.43 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3872, allocations: 0 / 0.5694 GB, free: 12.43 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.3873, allocations: 35.92 kB / 0.5694 GB, free: 12.4 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003055/0.3876, allocations: 51.08 kB / 0.5695 GB, free: 12.36 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005362/0.3882, allocations: 275.4 kB / 0.5697 GB, free: 12.06 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.3885, allocations: 0.72 MB / 0.5704 GB, free: 11.31 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 7.59e-05/0.3886, allocations: 21.42 kB / 0.5705 GB, free: 11.29 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.33e-05/0.3886, allocations: 15.44 kB / 0.5705 GB, free: 11.28 MB / 414.1 MB
Notification: Performance of SimCode: time 3.51e-07/0.3886, allocations: 0 / 0.5705 GB, free: 11.28 MB / 414.1 MB
Notification: Performance of Templates: time 0.005568/0.3942, allocations: 1.955 MB / 0.5724 GB, free: 9.34 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.makefile [Timeout 660]
(rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.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.162826953455806]