Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test8.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.001791/0.001791, 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.002528/0.002528, 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.512/1.512, allocations: 230.3 MB / 258 MB, free: 8.199 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.2365/0.2365, allocations: 46.94 MB / 361.4 MB, free: 4.383 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.CombiTable1Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test8")
translateModel(ModelicaTest.Tables.CombiTable1Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test8") [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.002354/0.002354, allocations: 75.88 kB / 0.4972 GB, free: 7.48 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3539/0.3562, allocations: 66.04 MB / 0.5617 GB, free: 4.512 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.003658/0.3599, allocations: 1.624 MB / 0.5633 GB, free: 2.883 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001227/0.3611, allocations: 0.5576 MB / 0.5638 GB, free: 2.324 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 7.879e-05/0.3612, allocations: 0 / 0.5638 GB, free: 2.324 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0002535/0.3615, allocations: 27.84 kB / 0.5638 GB, free: 2.297 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0003229/0.3618, allocations: 75.62 kB / 0.5639 GB, free: 2.223 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003353/0.3621, allocations: 115.7 kB / 0.564 GB, free: 2.109 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001763/0.3623, allocations: 63.83 kB / 0.5641 GB, free: 2.047 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.3624, allocations: 19.58 kB / 0.5641 GB, free: 2.031 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 5.607e-05/0.3625, allocations: 27.86 kB / 0.5641 GB, free: 2.004 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 7.103e-05/0.3625, allocations: 19.86 kB / 0.5641 GB, free: 1.984 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.3626, allocations: 4 kB / 0.5641 GB, free: 1.98 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 8.191e-05/0.3626, allocations: 28 kB / 0.5642 GB, free: 1.953 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 6.49e-05/0.3627, allocations: 23.91 kB / 0.5642 GB, free: 1.93 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 4.226e-05/0.3627, allocations: 23.81 kB / 0.5642 GB, free: 1.906 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0001924/0.3629, allocations: 82.47 kB / 0.5643 GB, free: 1.828 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3629, allocations: 4 kB / 0.5643 GB, free: 1.824 MB / 398.1 MB
Notification: Performance of FrontEnd: time 2.695e-06/0.3629, allocations: 0 / 0.5643 GB, free: 1.824 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 6.552e-06/0.363, allocations: 0 / 0.5643 GB, free: 1.824 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: 5
 * Number of variables: 5
Notification: Performance of Generate backend data structure: time 0.0005458/0.3635, allocations: 317.8 kB / 0.5646 GB, free: 1.48 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.3635, allocations: 8.031 kB / 0.5646 GB, free: 1.473 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.001e-05/0.3636, allocations: 12.89 kB / 0.5646 GB, free: 1.461 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/0.3638, allocations: 134.4 kB / 0.5647 GB, free: 1.305 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.083e-06/0.3638, allocations: 384 / 0.5647 GB, free: 1.305 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.911e-05/0.3638, allocations: 8.375 kB / 0.5647 GB, free: 1.297 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/0.364, allocations: 50.23 kB / 0.5648 GB, free: 1.242 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.364, allocations: 192 / 0.5648 GB, free: 1.242 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.981e-05/0.364, allocations: 7.875 kB / 0.5648 GB, free: 1.234 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.364, allocations: 7.984 kB / 0.5648 GB, free: 1.227 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001069/0.3641, allocations: 19.98 kB / 0.5648 GB, free: 1.207 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004415/0.3646, allocations: 256 kB / 0.5651 GB, free: 0.9141 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.000241/0.3648, allocations: 46.5 kB / 0.5651 GB, free: 0.8594 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 5.355e-05/0.3649, allocations: 20.88 kB / 0.5651 GB, free: 0.8359 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.383e-05/0.3649, allocations: 4 kB / 0.5651 GB, free: 0.832 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.3649, allocations: 34.56 kB / 0.5652 GB, free: 0.7891 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=3): time 1.473e-06/0.3649, allocations: 0 / 0.5652 GB, free: 0.7891 MB / 398.1 MB
Notification: Performance of matching and sorting (n=5): time 0.0006858/0.3656, allocations: 157.3 kB / 0.5653 GB, free: 0.6289 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.906e-05/0.3657, allocations: 55.41 kB / 0.5654 GB, free: 0.5625 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001808/0.3659, allocations: 165.4 kB / 0.5655 GB, free: 404 kB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.3659, allocations: 25.7 kB / 0.5656 GB, free: 372 kB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 6.9e-05/0.3659, allocations: 96.12 kB / 0.5657 GB, free: 272 kB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 2.53e-05/0.366, allocations: 15.86 kB / 0.5657 GB, free: 256 kB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.99e-05/0.366, allocations: 17.72 kB / 0.5657 GB, free: 232 kB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001978/0.3662, allocations: 330.8 kB / 0.566 GB, free: 15.89 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 7.422e-05/0.3663, allocations: 19.98 kB / 0.566 GB, free: 15.88 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 6.251e-05/0.3663, allocations: 19.98 kB / 0.566 GB, free: 15.86 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001703/0.3665, allocations: 52.81 kB / 0.5661 GB, free: 15.8 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3665, allocations: 3.938 kB / 0.5661 GB, free: 15.8 MB / 414.1 MB
Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002551/0.3668, allocations: 89.5 kB / 0.5662 GB, free: 15.7 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.3668, allocations: 14.34 kB / 0.5662 GB, free: 15.69 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.3668, allocations: 0 / 0.5662 GB, free: 15.69 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.3668, allocations: 0 / 0.5662 GB, free: 15.69 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.273e-05/0.3669, allocations: 12.23 kB / 0.5662 GB, free: 15.68 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.3669, allocations: 0 / 0.5662 GB, free: 15.68 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.675e-05/0.3669, allocations: 15.98 kB / 0.5662 GB, free: 15.66 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.3669, allocations: 4 kB / 0.5662 GB, free: 15.66 MB / 414.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (5):
 * Single equations (assignments): 5
 * 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.0001009/0.367, allocations: 121.7 kB / 0.5663 GB, free: 15.53 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.152e-05/0.3671, allocations: 7.953 kB / 0.5663 GB, free: 15.52 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002686/0.3673, allocations: 106 kB / 0.5664 GB, free: 15.4 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.3673, allocations: 0 / 0.5664 GB, free: 15.4 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.3673, allocations: 0 / 0.5664 GB, free: 15.4 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3673, allocations: 0 / 0.5664 GB, free: 15.4 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004441/0.3678, allocations: 329.6 kB / 0.5668 GB, free: 15.03 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3678, allocations: 0 / 0.5668 GB, free: 15.03 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.075e-05/0.3678, allocations: 19.92 kB / 0.5668 GB, free: 15.01 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 4.9e-06/0.3679, allocations: 4 kB / 0.5668 GB, free: 15.01 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.3679, allocations: 0 / 0.5668 GB, free: 15.01 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.3679, allocations: 3.938 kB / 0.5668 GB, free: 15 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3679, allocations: 0 / 0.5668 GB, free: 15 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002336/0.3681, allocations: 183.5 kB / 0.567 GB, free: 14.81 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 1.401e-05/0.3681, allocations: 3.953 kB / 0.567 GB, free: 14.8 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.3681, allocations: 8 kB / 0.567 GB, free: 14.8 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.909e-05/0.3682, allocations: 7.922 kB / 0.567 GB, free: 14.79 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.538e-05/0.3682, allocations: 4 kB / 0.567 GB, free: 14.79 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.596e-06/0.3682, allocations: 0 / 0.567 GB, free: 14.79 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0001138/0.3684, allocations: 127.2 kB / 0.5671 GB, free: 14.66 MB / 414.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.3684, allocations: 4 kB / 0.5671 GB, free: 14.66 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0002515/0.3686, allocations: 15.94 kB / 0.5671 GB, free: 14.64 MB / 414.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (5):
 * Single equations (assignments): 5
 * 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 Backend phase and start with SimCode phase: time 0.001514/0.3701, allocations: 400.1 kB / 0.5675 GB, free: 14.38 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002273/0.3703, allocations: 55.95 kB / 0.5676 GB, free: 14.32 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3703, allocations: 0 / 0.5676 GB, free: 14.32 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 8.512e-05/0.3704, allocations: 23.98 kB / 0.5676 GB, free: 14.3 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004031/0.3708, allocations: 19.06 kB / 0.5676 GB, free: 14.29 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005166/0.3714, allocations: 213.9 kB / 0.5678 GB, free: 14.05 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004035/0.3718, allocations: 0.6992 MB / 0.5685 GB, free: 13.32 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 6.108e-05/0.3718, allocations: 19.75 kB / 0.5685 GB, free: 13.3 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.676e-05/0.3719, allocations: 11.44 kB / 0.5685 GB, free: 13.29 MB / 414.1 MB
Notification: Performance of SimCode: time 2.81e-07/0.3719, allocations: 0 / 0.5685 GB, free: 13.29 MB / 414.1 MB
Notification: Performance of Templates: time 0.004424/0.3763, allocations: 1.169 MB / 0.5697 GB, free: 12.13 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test8.makefile [Timeout 660]
(rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test8  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test8.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.154029335826635]