Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.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.001695/0.001695, allocations: 105.1 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.001985/0.001985, allocations: 213.9 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.621/1.621, 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 4.1.0-beta.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2448/0.2448, allocations: 46.94 MB / 361.4 MB, free: 4.398 MB / 286.1 MB
"
[Timeout remaining time 179]
Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50")
translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50") [Timeout 660]
"Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Notification: Performance of FrontEnd - loaded program: time 0.003474/0.003474, allocations: 79.86 kB / 0.4972 GB, free: 7.457 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4657/0.4692, allocations: 66.04 MB / 0.5617 GB, free: 4.52 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.004081/0.4733, allocations: 1.752 MB / 0.5634 GB, free: 2.758 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.003213/0.4765, allocations: 1.734 MB / 0.5651 GB, free: 1.016 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.000121/0.4766, allocations: 4 kB / 0.5651 GB, free: 1.012 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.000416/0.477, allocations: 47.7 kB / 0.5652 GB, free: 0.9648 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.000402/0.4774, allocations: 99.53 kB / 0.5653 GB, free: 0.8672 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002262/0.4776, allocations: 79.67 kB / 0.5653 GB, free: 0.7891 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002361/0.4779, allocations: 111.7 kB / 0.5654 GB, free: 0.6797 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.478, allocations: 8 kB / 0.5655 GB, free: 0.6719 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.4781, allocations: 51.72 kB / 0.5655 GB, free: 0.6211 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001926/0.4783, allocations: 47.83 kB / 0.5656 GB, free: 0.5742 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.659e-05/0.4783, allocations: 8 kB / 0.5656 GB, free: 0.5664 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002169/0.4785, allocations: 111.9 kB / 0.5657 GB, free: 468 kB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 6.911e-05/0.4786, allocations: 31.91 kB / 0.5657 GB, free: 436 kB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 6.919e-05/0.4787, allocations: 35.75 kB / 0.5657 GB, free: 400 kB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0003334/0.479, allocations: 177.8 kB / 0.5659 GB, free: 228 kB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.479, allocations: 3.938 kB / 0.5659 GB, free: 224 kB / 398.1 MB
Notification: Performance of FrontEnd: time 1.633e-06/0.479, allocations: 0 / 0.5659 GB, free: 224 kB / 398.1 MB
Notification: Performance of Transformations before backend: time 7.023e-06/0.479, allocations: 0 / 0.5659 GB, free: 224 kB / 398.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 7
 * Number of variables: 7
Notification: Performance of Generate backend data structure: time 0.0006825/0.4797, allocations: 369.3 kB / 0.5663 GB, free: 15.83 MB / 414.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.4797, allocations: 8.031 kB / 0.5663 GB, free: 15.82 MB / 414.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.701e-05/0.4798, allocations: 12.88 kB / 0.5663 GB, free: 15.81 MB / 414.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000346/0.4802, allocations: 154.3 kB / 0.5664 GB, free: 15.63 MB / 414.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.4802, allocations: 4.375 kB / 0.5664 GB, free: 15.63 MB / 414.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.079e-05/0.4802, allocations: 8.359 kB / 0.5664 GB, free: 15.62 MB / 414.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002137/0.4804, allocations: 79.64 kB / 0.5665 GB, free: 15.53 MB / 414.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.4804, allocations: 3.953 kB / 0.5665 GB, free: 15.53 MB / 414.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.4804, allocations: 0 / 0.5665 GB, free: 15.53 MB / 414.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.4804, allocations: 0 / 0.5665 GB, free: 15.53 MB / 414.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001048/0.4805, allocations: 31.97 kB / 0.5665 GB, free: 15.5 MB / 414.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004722/0.481, allocations: 275.9 kB / 0.5668 GB, free: 15.18 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002137/0.4812, allocations: 66.61 kB / 0.5669 GB, free: 15.11 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 6.849e-05/0.4813, allocations: 24.84 kB / 0.5669 GB, free: 15.08 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.706e-05/0.4813, allocations: 0 / 0.5669 GB, free: 15.08 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002148/0.4815, allocations: 79.33 kB / 0.567 GB, free: 14.99 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=7): time 1.573e-06/0.4815, allocations: 0 / 0.567 GB, free: 14.99 MB / 414.1 MB
Notification: Performance of matching and sorting (n=9): time 0.0006621/0.4822, allocations: 197.5 kB / 0.5672 GB, free: 14.79 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.907e-05/0.4823, allocations: 81.11 kB / 0.5672 GB, free: 14.7 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002076/0.4825, allocations: 175 kB / 0.5674 GB, free: 14.51 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.419e-05/0.4825, allocations: 25.7 kB / 0.5674 GB, free: 14.48 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 7.364e-05/0.4826, allocations: 96.14 kB / 0.5675 GB, free: 14.38 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 4.889e-05/0.4826, allocations: 39.8 kB / 0.5676 GB, free: 14.34 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.351e-05/0.4827, allocations: 29.7 kB / 0.5676 GB, free: 14.31 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001711/0.4829, allocations: 326.8 kB / 0.5679 GB, free: 13.98 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 7.475e-05/0.4829, allocations: 23.94 kB / 0.5679 GB, free: 13.96 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 9.652e-05/0.483, allocations: 54.5 kB / 0.568 GB, free: 13.89 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001505/0.4832, allocations: 69.77 kB / 0.568 GB, free: 13.82 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.4832, allocations: 0 / 0.568 GB, free: 13.82 MB / 414.1 MB
Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002277/0.4834, allocations: 121.5 kB / 0.5682 GB, free: 13.7 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.4834, allocations: 4 kB / 0.5682 GB, free: 13.69 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.4834, allocations: 3.938 kB / 0.5682 GB, free: 13.69 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.4835, allocations: 0 / 0.5682 GB, free: 13.69 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.4836, allocations: 19.98 kB / 0.5682 GB, free: 13.67 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.4836, allocations: 0 / 0.5682 GB, free: 13.67 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.031e-05/0.4836, allocations: 8 kB / 0.5682 GB, free: 13.66 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.4836, allocations: 8.031 kB / 0.5682 GB, free: 13.65 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 (11):
 * Single equations (assignments): 11
 * 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.0001241/0.4837, allocations: 130.3 kB / 0.5683 GB, free: 13.52 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.884e-05/0.4838, allocations: 7.953 kB / 0.5683 GB, free: 13.51 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002948/0.4841, allocations: 126.3 kB / 0.5684 GB, free: 13.38 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.4841, allocations: 0 / 0.5684 GB, free: 13.38 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.4841, allocations: 4 kB / 0.5685 GB, free: 13.37 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.4841, allocations: 3.984 kB / 0.5685 GB, free: 13.37 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005447/0.4846, allocations: 398.2 kB / 0.5688 GB, free: 12.93 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.4846, allocations: 0 / 0.5688 GB, free: 12.93 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.493e-05/0.4847, allocations: 15.92 kB / 0.5689 GB, free: 12.91 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.4847, allocations: 0 / 0.5689 GB, free: 12.91 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/0.4847, allocations: 8 kB / 0.5689 GB, free: 12.9 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.4847, allocations: 3.938 kB / 0.5689 GB, free: 12.9 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.4847, allocations: 0 / 0.5689 GB, free: 12.9 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003007/0.485, allocations: 216.5 kB / 0.5691 GB, free: 12.67 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.474e-05/0.485, allocations: 15.89 kB / 0.5691 GB, free: 12.65 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.073e-05/0.4851, allocations: 4.094 kB / 0.5691 GB, free: 12.65 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.83e-05/0.4851, allocations: 11.88 kB / 0.5691 GB, free: 12.64 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.811e-05/0.4852, allocations: 7.984 kB / 0.5691 GB, free: 12.63 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.046e-05/0.4852, allocations: 8 kB / 0.5691 GB, free: 12.62 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0001312/0.4853, allocations: 127.2 kB / 0.5692 GB, free: 12.5 MB / 414.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.4853, allocations: 0 / 0.5692 GB, free: 12.5 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0003214/0.4857, allocations: 47.86 kB / 0.5693 GB, free: 12.45 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 (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.002085/0.4878, allocations: 0.538 MB / 0.5698 GB, free: 12.09 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002229/0.488, allocations: 67.91 kB / 0.5699 GB, free: 12.03 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.488, allocations: 0 / 0.5699 GB, free: 12.03 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 8.194e-05/0.4881, allocations: 31.98 kB / 0.5699 GB, free: 12 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003574/0.4884, allocations: 39.53 kB / 0.5699 GB, free: 11.96 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005384/0.489, allocations: 215.3 kB / 0.5701 GB, free: 11.72 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004025/0.4894, allocations: 0.7002 MB / 0.5708 GB, free: 10.99 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 8.064e-05/0.4894, allocations: 28.62 kB / 0.5709 GB, free: 10.96 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.819e-05/0.4895, allocations: 23.42 kB / 0.5709 GB, free: 10.94 MB / 414.1 MB
Notification: Performance of SimCode: time 3.21e-07/0.4895, allocations: 0 / 0.5709 GB, free: 10.94 MB / 414.1 MB
Notification: Performance of Templates: time 0.006689/0.4962, allocations: 2.498 MB / 0.5733 GB, free: 8.461 MB / 414.1 MB
"
[Timeout remaining time 659]
make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.makefile [Timeout 660]
(rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.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.715904067270458]