Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.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.001593/0.001593, 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.00174/0.00174, allocations: 211.9 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.575/1.575, allocations: 230.3 MB / 258 MB, free: 8.195 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.2388/0.2388, 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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69")
translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69") [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.002408/0.002408, allocations: 76.16 kB / 0.4972 GB, free: 7.484 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4476/0.45, allocations: 66.05 MB / 0.5617 GB, free: 4.527 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003827/0.4538, allocations: 1.842 MB / 0.5635 GB, free: 2.672 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002175/0.456, allocations: 1.123 MB / 0.5646 GB, free: 1.547 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 9.765e-05/0.4561, allocations: 4 kB / 0.5646 GB, free: 1.543 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0006521/0.4567, allocations: 299.2 kB / 0.5649 GB, free: 1.25 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.000601/0.4573, allocations: 259.2 kB / 0.5651 GB, free: 0.9961 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002526/0.4576, allocations: 103.7 kB / 0.5652 GB, free: 0.8945 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0003735/0.458, allocations: 267.2 kB / 0.5655 GB, free: 0.6328 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 6.81e-05/0.458, allocations: 5.812 kB / 0.5655 GB, free: 0.625 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002069/0.4582, allocations: 139.5 kB / 0.5656 GB, free: 500 kB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002762/0.4585, allocations: 215.9 kB / 0.5658 GB, free: 284 kB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 3.207e-05/0.4586, allocations: 8 kB / 0.5659 GB, free: 276 kB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001209/0.4587, allocations: 51.98 kB / 0.5659 GB, free: 224 kB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001756/0.4588, allocations: 132.5 kB / 0.566 GB, free: 92 kB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0002024/0.4591, allocations: 146.8 kB / 0.5662 GB, free: 15.94 MB / 414.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0004946/0.4595, allocations: 376.7 kB / 0.5665 GB, free: 15.58 MB / 414.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.4596, allocations: 0 / 0.5665 GB, free: 15.58 MB / 414.1 MB
Notification: Performance of FrontEnd: time 1.593e-06/0.4596, allocations: 0 / 0.5665 GB, free: 15.58 MB / 414.1 MB
Notification: Performance of Transformations before backend: time 7.374e-06/0.4596, allocations: 0 / 0.5665 GB, free: 15.58 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.001086/0.4606, allocations: 0.6708 MB / 0.5672 GB, free: 14.88 MB / 414.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.4607, allocations: 8.031 kB / 0.5672 GB, free: 14.87 MB / 414.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001028/0.4608, allocations: 52.61 kB / 0.5672 GB, free: 14.82 MB / 414.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007325/0.4615, allocations: 394.5 kB / 0.5676 GB, free: 14.41 MB / 414.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/0.4615, allocations: 12.31 kB / 0.5676 GB, free: 14.4 MB / 414.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.617e-05/0.4616, allocations: 384 / 0.5676 GB, free: 14.4 MB / 414.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002433/0.4618, allocations: 99.66 kB / 0.5677 GB, free: 14.29 MB / 414.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.4618, allocations: 0 / 0.5677 GB, free: 14.29 MB / 414.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.95e-05/0.4618, allocations: 0 / 0.5677 GB, free: 14.29 MB / 414.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.4618, allocations: 4 kB / 0.5677 GB, free: 14.29 MB / 414.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001181/0.462, allocations: 27.98 kB / 0.5678 GB, free: 14.26 MB / 414.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004715/0.4624, allocations: 349.4 kB / 0.5681 GB, free: 13.87 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002997/0.4627, allocations: 101.2 kB / 0.5682 GB, free: 13.75 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.4628, allocations: 37.7 kB / 0.5682 GB, free: 13.71 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.085e-05/0.4629, allocations: 0 / 0.5682 GB, free: 13.71 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002548/0.4631, allocations: 109 kB / 0.5683 GB, free: 13.59 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=10): time 3.687e-06/0.4631, allocations: 4 kB / 0.5683 GB, free: 13.58 MB / 414.1 MB
Notification: Performance of matching and sorting (n=10): time 0.0005287/0.4636, allocations: 205.2 kB / 0.5685 GB, free: 13.38 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.051e-05/0.4637, allocations: 81.11 kB / 0.5686 GB, free: 13.28 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001254/0.465, allocations: 1.022 MB / 0.5696 GB, free: 12.24 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.574e-05/0.465, allocations: 29.7 kB / 0.5696 GB, free: 12.21 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.000212/0.4652, allocations: 232.1 kB / 0.5698 GB, free: 11.98 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 4.735e-05/0.4653, allocations: 27.78 kB / 0.5699 GB, free: 11.95 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.399e-05/0.4653, allocations: 25.72 kB / 0.5699 GB, free: 11.92 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002159/0.4655, allocations: 378.8 kB / 0.5703 GB, free: 11.54 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 9.136e-05/0.4656, allocations: 31.92 kB / 0.5703 GB, free: 11.51 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001203/0.4657, allocations: 55.42 kB / 0.5703 GB, free: 11.44 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002128/0.4659, allocations: 99.78 kB / 0.5704 GB, free: 11.33 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.4659, allocations: 0 / 0.5704 GB, free: 11.33 MB / 414.1 MB
Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003247/0.4663, allocations: 177.2 kB / 0.5706 GB, free: 11.15 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.4663, allocations: 6.188 kB / 0.5706 GB, free: 11.15 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/0.4663, allocations: 4 kB / 0.5706 GB, free: 11.14 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.4663, allocations: 0 / 0.5706 GB, free: 11.14 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.4664, allocations: 19.98 kB / 0.5706 GB, free: 11.12 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.4665, allocations: 7.938 kB / 0.5706 GB, free: 11.12 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001598/0.4666, allocations: 19.94 kB / 0.5707 GB, free: 11.1 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.4666, allocations: 4 kB / 0.5707 GB, free: 11.09 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.0002353/0.4669, allocations: 218.3 kB / 0.5709 GB, free: 10.87 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8.05e-05/0.4669, allocations: 59.59 kB / 0.5709 GB, free: 10.81 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004183/0.4674, allocations: 189.8 kB / 0.5711 GB, free: 10.62 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.4674, allocations: 3.984 kB / 0.5711 GB, free: 10.61 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.4674, allocations: 4 kB / 0.5711 GB, free: 10.61 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.4674, allocations: 4 kB / 0.5711 GB, free: 10.61 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003694/0.4677, allocations: 316.5 kB / 0.5714 GB, free: 10.25 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.4677, allocations: 256 / 0.5714 GB, free: 10.25 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-05/0.4678, allocations: 19.94 kB / 0.5714 GB, free: 10.23 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.4678, allocations: 0 / 0.5714 GB, free: 10.23 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.4678, allocations: 0 / 0.5714 GB, free: 10.23 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.4678, allocations: 7.938 kB / 0.5715 GB, free: 10.23 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.4678, allocations: 3.984 kB / 0.5715 GB, free: 10.22 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003676/0.4682, allocations: 213.5 kB / 0.5717 GB, free: 9.992 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001519/0.4683, allocations: 71.53 kB / 0.5717 GB, free: 9.922 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.726e-05/0.4684, allocations: 4 kB / 0.5717 GB, free: 9.918 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.614e-05/0.4685, allocations: 7.984 kB / 0.5717 GB, free: 9.91 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.564e-05/0.4685, allocations: 11.98 kB / 0.5718 GB, free: 9.898 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.4685, allocations: 4 kB / 0.5718 GB, free: 9.895 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0008847/0.4694, allocations: 0.7604 MB / 0.5725 GB, free: 9.137 MB / 414.1 MB
Notification: Performance of sort global known variables: time 1e-07/0.4694, allocations: 0 / 0.5725 GB, free: 9.137 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0002818/0.4697, allocations: 47.98 kB / 0.5725 GB, free: 9.09 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.001592/0.4713, allocations: 410.3 kB / 0.5729 GB, free: 8.812 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002629/0.4716, allocations: 79.84 kB / 0.573 GB, free: 8.734 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.4716, allocations: 0 / 0.573 GB, free: 8.734 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001205/0.4717, allocations: 47.91 kB / 0.5731 GB, free: 8.688 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000437/0.4721, allocations: 68.55 kB / 0.5731 GB, free: 8.625 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001306/0.4734, allocations: 0.8777 MB / 0.574 GB, free: 7.719 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005196/0.4739, allocations: 0.8426 MB / 0.5748 GB, free: 6.848 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 0.0001305/0.4741, allocations: 62.92 kB / 0.5749 GB, free: 6.785 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.967e-05/0.4741, allocations: 27.44 kB / 0.5749 GB, free: 6.762 MB / 414.1 MB
Notification: Performance of SimCode: time 3.31e-07/0.4741, allocations: 0 / 0.5749 GB, free: 6.762 MB / 414.1 MB
Notification: Performance of Templates: time 0.008882/0.483, allocations: 3.852 MB / 0.5786 GB, free: 2.926 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.makefile [Timeout 660]
(rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.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.599983335472643]