Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.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.001798/0.001798, 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.002101/0.002101, 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.466/1.466, allocations: 230.3 MB / 258 MB, free: 8.234 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.2385/0.2385, allocations: 46.89 MB / 361.3 MB, free: 4.418 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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20")
translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002407/0.002407, allocations: 79.88 kB / 0.4971 GB, free: 7.5 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3185, allocations: 66.02 MB / 0.5616 GB, free: 4.602 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.003174/0.3217, allocations: 1.756 MB / 0.5633 GB, free: 2.832 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001766/0.3235, allocations: 1.049 MB / 0.5643 GB, free: 1.777 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 6.739e-05/0.3236, allocations: 3.938 kB / 0.5643 GB, free: 1.773 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0002579/0.3238, allocations: 47.7 kB / 0.5644 GB, free: 1.727 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0002793/0.3241, allocations: 95.61 kB / 0.5645 GB, free: 1.633 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0001855/0.3243, allocations: 79.66 kB / 0.5645 GB, free: 1.555 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001687/0.3244, allocations: 99.77 kB / 0.5646 GB, free: 1.457 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 8.631e-05/0.3245, allocations: 11.98 kB / 0.5647 GB, free: 1.445 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.3246, allocations: 51.66 kB / 0.5647 GB, free: 1.395 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 7.021e-05/0.3247, allocations: 27.86 kB / 0.5647 GB, free: 1.367 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.666e-05/0.3247, allocations: 4 kB / 0.5647 GB, free: 1.363 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 9.009e-05/0.3248, allocations: 43.97 kB / 0.5648 GB, free: 1.32 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 5.158e-05/0.3249, allocations: 19.92 kB / 0.5648 GB, free: 1.301 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 5.755e-05/0.3249, allocations: 39.73 kB / 0.5648 GB, free: 1.262 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0001934/0.3251, allocations: 121.9 kB / 0.5649 GB, free: 1.148 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3251, allocations: 3.938 kB / 0.565 GB, free: 1.145 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.052e-06/0.3251, allocations: 3.938 kB / 0.565 GB, free: 1.141 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 8.025e-06/0.3251, allocations: 0 / 0.565 GB, free: 1.141 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.0005225/0.3257, allocations: 345.6 kB / 0.5653 GB, free: 0.7734 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.3257, allocations: 8.031 kB / 0.5653 GB, free: 0.7656 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.094e-05/0.3257, allocations: 8.891 kB / 0.5653 GB, free: 0.7578 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002595/0.326, allocations: 159 kB / 0.5655 GB, free: 0.5781 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.326, allocations: 4.375 kB / 0.5655 GB, free: 0.5742 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.044e-05/0.326, allocations: 384 / 0.5655 GB, free: 0.5742 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.3262, allocations: 57.98 kB / 0.5655 GB, free: 0.5117 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.3262, allocations: 7.938 kB / 0.5655 GB, free: 0.5039 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.3262, allocations: 3.984 kB / 0.5655 GB, free: 0.5 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.3262, allocations: 0 / 0.5655 GB, free: 0.5 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 7.543e-05/0.3263, allocations: 23.98 kB / 0.5655 GB, free: 488 kB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003549/0.3266, allocations: 259.9 kB / 0.5658 GB, free: 184 kB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001715/0.3268, allocations: 50.69 kB / 0.5658 GB, free: 124 kB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 5.748e-05/0.3269, allocations: 24.72 kB / 0.5659 GB, free: 96 kB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.3269, allocations: 4 kB / 0.5659 GB, free: 92 kB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001487/0.327, allocations: 71.39 kB / 0.5659 GB, free: 8 kB / 398.1 MB
Notification: Performance of pre-optimization done (n=6): time 1.223e-06/0.327, allocations: 0 / 0.5659 GB, free: 8 kB / 398.1 MB
Notification: Performance of matching and sorting (n=8): time 0.000555/0.3276, allocations: 181.3 kB / 0.5661 GB, free: 15.82 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.635e-05/0.3276, allocations: 55.41 kB / 0.5662 GB, free: 15.76 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002033/0.3278, allocations: 194.2 kB / 0.5664 GB, free: 15.56 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.3278, allocations: 33.7 kB / 0.5664 GB, free: 15.52 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 7.111e-05/0.3279, allocations: 104.1 kB / 0.5665 GB, free: 15.41 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 2.872e-05/0.3279, allocations: 23.8 kB / 0.5665 GB, free: 15.39 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.466e-05/0.328, allocations: 29.7 kB / 0.5665 GB, free: 15.36 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001389/0.3281, allocations: 322.8 kB / 0.5668 GB, free: 15.03 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 6.021e-05/0.3282, allocations: 20 kB / 0.5669 GB, free: 15.01 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 6.959e-05/0.3283, allocations: 37.7 kB / 0.5669 GB, free: 14.97 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001256/0.3284, allocations: 61.64 kB / 0.567 GB, free: 14.9 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.3284, allocations: 0 / 0.567 GB, free: 14.9 MB / 414.1 MB
Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001946/0.3286, allocations: 117.5 kB / 0.5671 GB, free: 14.78 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.3286, allocations: 4 kB / 0.5671 GB, free: 14.78 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.3286, allocations: 0 / 0.5671 GB, free: 14.78 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.3286, allocations: 0 / 0.5671 GB, free: 14.78 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.316e-05/0.3287, allocations: 16 kB / 0.5671 GB, free: 14.76 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.828e-06/0.3287, allocations: 0 / 0.5671 GB, free: 14.76 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.55e-05/0.3287, allocations: 7.984 kB / 0.5671 GB, free: 14.75 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.365e-06/0.3287, allocations: 4 kB / 0.5671 GB, free: 14.75 MB / 414.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.0001122/0.3289, allocations: 123.1 kB / 0.5672 GB, free: 14.62 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.762e-05/0.3289, allocations: 19.94 kB / 0.5672 GB, free: 14.6 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002508/0.3291, allocations: 115.2 kB / 0.5673 GB, free: 14.47 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.3291, allocations: 0 / 0.5673 GB, free: 14.47 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.3292, allocations: 0 / 0.5673 GB, free: 14.47 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.3292, allocations: 7.984 kB / 0.5674 GB, free: 14.46 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004567/0.3296, allocations: 366.4 kB / 0.5677 GB, free: 14.05 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.3296, allocations: 4 kB / 0.5677 GB, free: 14.05 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.034e-05/0.3296, allocations: 8.031 kB / 0.5677 GB, free: 14.04 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.3296, allocations: 4 kB / 0.5677 GB, free: 14.04 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.3297, allocations: 0 / 0.5677 GB, free: 14.04 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.3297, allocations: 4.312 kB / 0.5677 GB, free: 14.04 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.3297, allocations: 4.188 kB / 0.5677 GB, free: 14.03 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002537/0.3299, allocations: 208.2 kB / 0.5679 GB, free: 13.81 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 1.749e-05/0.3299, allocations: 11.89 kB / 0.5679 GB, free: 13.8 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.573e-05/0.33, allocations: 15.94 kB / 0.5679 GB, free: 13.78 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.413e-05/0.33, allocations: 7.938 kB / 0.568 GB, free: 13.77 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.75e-05/0.3301, allocations: 3.984 kB / 0.568 GB, free: 13.77 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.3301, allocations: 4 kB / 0.568 GB, free: 13.77 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0001425/0.3302, allocations: 152.2 kB / 0.5681 GB, free: 13.62 MB / 414.1 MB
Notification: Performance of sort global known variables: time 7.1e-08/0.3302, allocations: 0 / 0.5681 GB, free: 13.62 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0002523/0.3305, allocations: 27.94 kB / 0.5681 GB, free: 13.59 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: 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.001637/0.3321, allocations: 452.2 kB / 0.5686 GB, free: 13.3 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001962/0.3323, allocations: 51.92 kB / 0.5686 GB, free: 13.25 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3323, allocations: 0 / 0.5686 GB, free: 13.25 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 7.793e-05/0.3324, allocations: 31.91 kB / 0.5686 GB, free: 13.22 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003564/0.3328, allocations: 38.28 kB / 0.5687 GB, free: 13.19 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004602/0.3332, allocations: 230.7 kB / 0.5689 GB, free: 12.93 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003394/0.3336, allocations: 0.7041 MB / 0.5696 GB, free: 12.2 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 5.442e-05/0.3336, allocations: 25.2 kB / 0.5696 GB, free: 12.18 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.853e-05/0.3336, allocations: 19.44 kB / 0.5696 GB, free: 12.16 MB / 414.1 MB
Notification: Performance of SimCode: time 3.21e-07/0.3336, allocations: 0 / 0.5696 GB, free: 12.16 MB / 414.1 MB
Notification: Performance of Templates: time 0.004829/0.3385, allocations: 1.761 MB / 0.5714 GB, free: 10.41 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.makefile [Timeout 660]
(rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.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.191302487626672]