Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test54.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.001357/0.001357, 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.001658/0.001658, 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.536/1.536, allocations: 230.3 MB / 258 MB, free: 8.23 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.2708/0.2708, allocations: 46.94 MB / 361.4 MB, free: 4.488 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.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test54")
translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test54") [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.00348/0.00348, allocations: 75.88 kB / 0.4972 GB, free: 7.461 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4016/0.4051, allocations: 66.04 MB / 0.5617 GB, free: 4.508 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.003257/0.4084, allocations: 1.744 MB / 0.5634 GB, free: 2.754 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001835/0.4102, allocations: 1.049 MB / 0.5644 GB, free: 1.699 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 6.525e-05/0.4103, allocations: 0 / 0.5644 GB, free: 1.699 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0003231/0.4106, allocations: 51.75 kB / 0.5645 GB, free: 1.648 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0003635/0.411, allocations: 107.5 kB / 0.5646 GB, free: 1.543 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002143/0.4112, allocations: 79.67 kB / 0.5647 GB, free: 1.465 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001845/0.4114, allocations: 99.69 kB / 0.5648 GB, free: 1.367 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.4115, allocations: 11.98 kB / 0.5648 GB, free: 1.355 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.4116, allocations: 47.78 kB / 0.5648 GB, free: 1.309 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 8.136e-05/0.4117, allocations: 31.8 kB / 0.5649 GB, free: 1.277 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.958e-05/0.4117, allocations: 4 kB / 0.5649 GB, free: 1.273 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.4118, allocations: 47.91 kB / 0.5649 GB, free: 1.227 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 7.478e-05/0.4119, allocations: 27.92 kB / 0.5649 GB, free: 1.199 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 6.759e-05/0.4119, allocations: 39.67 kB / 0.565 GB, free: 1.16 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0003238/0.4123, allocations: 130 kB / 0.5651 GB, free: 1.039 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.4123, allocations: 0 / 0.5651 GB, free: 1.039 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.393e-06/0.4123, allocations: 0 / 0.5651 GB, free: 1.039 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 5.199e-06/0.4123, allocations: 3.938 kB / 0.5651 GB, free: 1.035 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.0006192/0.4129, allocations: 365.4 kB / 0.5654 GB, free: 0.6484 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.4129, allocations: 8.031 kB / 0.5655 GB, free: 0.6406 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.868e-05/0.413, allocations: 12.89 kB / 0.5655 GB, free: 0.6289 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003158/0.4133, allocations: 163.1 kB / 0.5656 GB, free: 452 kB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.097e-06/0.4133, allocations: 384 / 0.5656 GB, free: 452 kB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.328e-05/0.4133, allocations: 4.375 kB / 0.5656 GB, free: 448 kB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.4135, allocations: 57.98 kB / 0.5657 GB, free: 384 kB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.4135, allocations: 0 / 0.5657 GB, free: 384 kB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.4135, allocations: 3.984 kB / 0.5657 GB, free: 380 kB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.4135, allocations: 7.938 kB / 0.5657 GB, free: 372 kB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 8.115e-05/0.4136, allocations: 19.98 kB / 0.5657 GB, free: 352 kB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004351/0.414, allocations: 271.8 kB / 0.566 GB, free: 36 kB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002129/0.4142, allocations: 58.67 kB / 0.566 GB, free: 15.97 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 5.618e-05/0.4143, allocations: 20.84 kB / 0.566 GB, free: 15.95 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.4143, allocations: 0 / 0.566 GB, free: 15.95 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000158/0.4145, allocations: 71.33 kB / 0.5661 GB, free: 15.86 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.4145, allocations: 4 kB / 0.5661 GB, free: 15.86 MB / 414.1 MB
Notification: Performance of matching and sorting (n=8): time 0.0005965/0.4151, allocations: 173.3 kB / 0.5663 GB, free: 15.68 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/0.4151, allocations: 55.34 kB / 0.5663 GB, free: 15.62 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002637/0.4154, allocations: 239 kB / 0.5666 GB, free: 15.37 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.4154, allocations: 25.7 kB / 0.5666 GB, free: 15.34 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 9.235e-05/0.4155, allocations: 120.1 kB / 0.5667 GB, free: 15.22 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.568e-05/0.4155, allocations: 19.86 kB / 0.5667 GB, free: 15.2 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.124e-05/0.4156, allocations: 25.7 kB / 0.5667 GB, free: 15.17 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001962/0.4158, allocations: 326.8 kB / 0.5671 GB, free: 14.84 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001384/0.4159, allocations: 23.98 kB / 0.5671 GB, free: 14.82 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 8.958e-05/0.416, allocations: 37.7 kB / 0.5671 GB, free: 14.77 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001261/0.4161, allocations: 65.7 kB / 0.5672 GB, free: 14.7 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.4161, allocations: 384 / 0.5672 GB, free: 14.7 MB / 414.1 MB
Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001906/0.4163, allocations: 105.6 kB / 0.5673 GB, free: 14.59 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.4163, allocations: 4 kB / 0.5673 GB, free: 14.59 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.4163, allocations: 0 / 0.5673 GB, free: 14.59 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.4164, allocations: 0 / 0.5673 GB, free: 14.59 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.4165, allocations: 23.94 kB / 0.5673 GB, free: 14.57 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.361e-06/0.4165, allocations: 0 / 0.5673 GB, free: 14.57 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.947e-05/0.4165, allocations: 8.172 kB / 0.5673 GB, free: 14.56 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.4165, allocations: 4 kB / 0.5673 GB, free: 14.55 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.0001262/0.4167, allocations: 141.7 kB / 0.5675 GB, free: 14.41 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.822e-05/0.4167, allocations: 15.91 kB / 0.5675 GB, free: 14.39 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002658/0.4169, allocations: 114.9 kB / 0.5676 GB, free: 14.27 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/0.4169, allocations: 4 kB / 0.5676 GB, free: 14.26 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.417, allocations: 0 / 0.5676 GB, free: 14.26 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.417, allocations: 0 / 0.5676 GB, free: 14.26 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005067/0.4175, allocations: 374.3 kB / 0.5679 GB, free: 13.84 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.4175, allocations: 3.938 kB / 0.5679 GB, free: 13.84 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.71e-05/0.4175, allocations: 16.02 kB / 0.568 GB, free: 13.82 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.4175, allocations: 0 / 0.568 GB, free: 13.82 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.4175, allocations: 0 / 0.568 GB, free: 13.82 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.021e-06/0.4175, allocations: 7.938 kB / 0.568 GB, free: 13.82 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4175, allocations: 0 / 0.568 GB, free: 13.82 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002703/0.4178, allocations: 204.3 kB / 0.5682 GB, free: 13.6 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.444e-05/0.4178, allocations: 11.91 kB / 0.5682 GB, free: 13.59 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.612e-05/0.4178, allocations: 11.92 kB / 0.5682 GB, free: 13.57 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.43e-05/0.4179, allocations: 11.94 kB / 0.5682 GB, free: 13.56 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.929e-05/0.418, allocations: 7.984 kB / 0.5682 GB, free: 13.55 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.669e-05/0.418, allocations: 4 kB / 0.5682 GB, free: 13.55 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0001664/0.4181, allocations: 171.2 kB / 0.5684 GB, free: 13.38 MB / 414.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.4181, allocations: 0 / 0.5684 GB, free: 13.38 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0002612/0.4184, allocations: 23.98 kB / 0.5684 GB, free: 13.36 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.001704/0.4201, allocations: 463.3 kB / 0.5688 GB, free: 13.06 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001906/0.4203, allocations: 55.91 kB / 0.5689 GB, free: 13.01 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4203, allocations: 0 / 0.5689 GB, free: 13.01 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 7.47e-05/0.4204, allocations: 24.12 kB / 0.5689 GB, free: 12.98 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003522/0.4207, allocations: 35.28 kB / 0.5689 GB, free: 12.95 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005202/0.4212, allocations: 271.1 kB / 0.5692 GB, free: 12.66 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003754/0.4216, allocations: 0.7158 MB / 0.5699 GB, free: 11.92 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 5.887e-05/0.4217, allocations: 20.97 kB / 0.5699 GB, free: 11.89 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.026e-05/0.4217, allocations: 15.44 kB / 0.5699 GB, free: 11.88 MB / 414.1 MB
Notification: Performance of SimCode: time 3.6e-07/0.4217, allocations: 0 / 0.5699 GB, free: 11.88 MB / 414.1 MB
Notification: Performance of Templates: time 0.005288/0.427, allocations: 1.791 MB / 0.5717 GB, free: 10.11 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test54.makefile [Timeout 660]
(rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test54  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test54.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.551732747815549]