Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.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.001352/0.001352, allocations: 109 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.001519/0.001519, allocations: 213.6 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.515/1.515, allocations: 230.3 MB / 258 MB, free: 8.188 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.2459/0.2459, allocations: 46.93 MB / 361.4 MB, free: 4.387 MB / 286.1 MB
"
[Timeout remaining time 180]
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.Test1,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.Test1")
translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,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.Test1") [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: 80.14 kB / 0.4972 GB, free: 7.477 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3764/0.3787, allocations: 66.04 MB / 0.5617 GB, free: 4.52 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.003252/0.382, allocations: 1.624 MB / 0.5633 GB, free: 2.891 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001067/0.383, allocations: 0.5576 MB / 0.5638 GB, free: 2.332 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 5.151e-05/0.3831, allocations: 4 kB / 0.5638 GB, free: 2.328 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0002027/0.3833, allocations: 19.84 kB / 0.5638 GB, free: 2.309 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0002951/0.3836, allocations: 83.62 kB / 0.5639 GB, free: 2.227 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002924/0.3839, allocations: 111.7 kB / 0.564 GB, free: 2.117 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001607/0.384, allocations: 63.78 kB / 0.5641 GB, free: 2.055 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 9.996e-05/0.3841, allocations: 15.64 kB / 0.5641 GB, free: 2.043 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 5.714e-05/0.3842, allocations: 23.92 kB / 0.5641 GB, free: 2.02 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 6.495e-05/0.3843, allocations: 19.86 kB / 0.5641 GB, free: 2 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.262e-05/0.3843, allocations: 4 kB / 0.5641 GB, free: 1.996 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 8.28e-05/0.3843, allocations: 35.98 kB / 0.5642 GB, free: 1.961 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 4.991e-05/0.3844, allocations: 19.92 kB / 0.5642 GB, free: 1.941 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 4.135e-05/0.3844, allocations: 27.8 kB / 0.5642 GB, free: 1.914 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0001773/0.3846, allocations: 78.48 kB / 0.5643 GB, free: 1.84 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3846, allocations: 0 / 0.5643 GB, free: 1.84 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.553e-06/0.3846, allocations: 0 / 0.5643 GB, free: 1.84 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 5.48e-06/0.3846, allocations: 0 / 0.5643 GB, free: 1.84 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.0005162/0.3851, allocations: 309.9 kB / 0.5646 GB, free: 1.504 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.3852, allocations: 12.03 kB / 0.5646 GB, free: 1.492 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.898e-05/0.3852, allocations: 4.891 kB / 0.5646 GB, free: 1.488 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001908/0.3854, allocations: 142.4 kB / 0.5647 GB, free: 1.324 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.3854, allocations: 384 / 0.5647 GB, free: 1.324 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.081e-05/0.3854, allocations: 4.375 kB / 0.5647 GB, free: 1.32 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.3856, allocations: 46.19 kB / 0.5648 GB, free: 1.27 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.3856, allocations: 4.125 kB / 0.5648 GB, free: 1.266 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.3856, allocations: 11.94 kB / 0.5648 GB, free: 1.254 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-06/0.3856, allocations: 0 / 0.5648 GB, free: 1.254 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 9.911e-05/0.3857, allocations: 23.97 kB / 0.5648 GB, free: 1.23 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003978/0.3861, allocations: 252 kB / 0.5651 GB, free: 0.9414 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002136/0.3863, allocations: 46.44 kB / 0.5651 GB, free: 0.8867 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 5.375e-05/0.3864, allocations: 20.94 kB / 0.5651 GB, free: 0.8633 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.454e-05/0.3864, allocations: 0 / 0.5651 GB, free: 0.8633 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.3864, allocations: 34.55 kB / 0.5652 GB, free: 0.8203 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=3): time 9.11e-07/0.3864, allocations: 8 kB / 0.5652 GB, free: 0.8125 MB / 398.1 MB
Notification: Performance of matching and sorting (n=5): time 0.0005539/0.387, allocations: 149.4 kB / 0.5653 GB, free: 0.6602 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/0.387, allocations: 51.41 kB / 0.5654 GB, free: 0.5977 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/0.3872, allocations: 146.1 kB / 0.5655 GB, free: 452 kB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.3872, allocations: 33.7 kB / 0.5655 GB, free: 412 kB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 5.418e-05/0.3873, allocations: 88.14 kB / 0.5656 GB, free: 320 kB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 2.765e-05/0.3873, allocations: 31.72 kB / 0.5656 GB, free: 288 kB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.546e-05/0.3873, allocations: 17.72 kB / 0.5657 GB, free: 264 kB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001732/0.3875, allocations: 326.8 kB / 0.566 GB, free: 15.93 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 7.346e-05/0.3876, allocations: 19.98 kB / 0.566 GB, free: 15.91 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 6.523e-05/0.3876, allocations: 24.05 kB / 0.566 GB, free: 15.89 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001349/0.3878, allocations: 48.83 kB / 0.5661 GB, free: 15.84 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.3878, allocations: 4 kB / 0.5661 GB, free: 15.83 MB / 414.1 MB
Notification: Performance of matching and sorting (n=5) (initialization): time 0.000197/0.388, allocations: 93.55 kB / 0.5661 GB, free: 15.73 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.388, allocations: 4 kB / 0.5662 GB, free: 15.73 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.388, allocations: 0 / 0.5662 GB, free: 15.73 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.388, allocations: 0 / 0.5662 GB, free: 15.73 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.567e-05/0.3881, allocations: 15.98 kB / 0.5662 GB, free: 15.71 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.3881, allocations: 0 / 0.5662 GB, free: 15.71 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.855e-05/0.3881, allocations: 4 kB / 0.5662 GB, free: 15.71 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.415e-06/0.3881, allocations: 3.984 kB / 0.5662 GB, free: 15.71 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 9.138e-05/0.3882, allocations: 121.8 kB / 0.5663 GB, free: 15.58 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.119e-05/0.3883, allocations: 7.953 kB / 0.5663 GB, free: 15.57 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002724/0.3885, allocations: 102 kB / 0.5664 GB, free: 15.45 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3885, allocations: 0 / 0.5664 GB, free: 15.45 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.3885, allocations: 0 / 0.5664 GB, free: 15.45 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.3885, allocations: 3.938 kB / 0.5664 GB, free: 15.45 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004442/0.389, allocations: 337.6 kB / 0.5667 GB, free: 15.07 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.389, allocations: 0 / 0.5667 GB, free: 15.07 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.362e-05/0.389, allocations: 12.25 kB / 0.5667 GB, free: 15.06 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.389, allocations: 3.984 kB / 0.5667 GB, free: 15.05 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.389, allocations: 4 kB / 0.5667 GB, free: 15.05 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.859e-06/0.3891, allocations: 4 kB / 0.5667 GB, free: 15.05 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3891, allocations: 0 / 0.5667 GB, free: 15.05 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000238/0.3893, allocations: 191.4 kB / 0.5669 GB, free: 14.84 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 1.07e-05/0.3893, allocations: 3.953 kB / 0.5669 GB, free: 14.84 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.3893, allocations: 4 kB / 0.5669 GB, free: 14.84 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.393e-05/0.3894, allocations: 0 / 0.5669 GB, free: 14.84 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.937e-05/0.3894, allocations: 11.92 kB / 0.5669 GB, free: 14.82 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-06/0.3894, allocations: 4 kB / 0.5669 GB, free: 14.82 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.000102/0.3895, allocations: 117.7 kB / 0.5671 GB, free: 14.71 MB / 414.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.3895, allocations: 0 / 0.5671 GB, free: 14.71 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0002387/0.3898, allocations: 23.94 kB / 0.5671 GB, free: 14.68 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.001476/0.3912, allocations: 403.5 kB / 0.5675 GB, free: 14.42 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002012/0.3914, allocations: 47.91 kB / 0.5675 GB, free: 14.38 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3915, allocations: 0 / 0.5675 GB, free: 14.38 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 8.815e-05/0.3915, allocations: 31.97 kB / 0.5675 GB, free: 14.34 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003606/0.3919, allocations: 23.92 kB / 0.5676 GB, free: 14.32 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004368/0.3923, allocations: 190.1 kB / 0.5677 GB, free: 14.11 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003246/0.3927, allocations: 0.6997 MB / 0.5684 GB, free: 13.38 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 5.257e-05/0.3927, allocations: 15.77 kB / 0.5684 GB, free: 13.37 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.051e-05/0.3927, allocations: 11.44 kB / 0.5685 GB, free: 13.36 MB / 414.1 MB
Notification: Performance of SimCode: time 3.01e-07/0.3927, allocations: 4 kB / 0.5685 GB, free: 13.35 MB / 414.1 MB
Notification: Performance of Templates: time 0.004066/0.3968, allocations: 1.156 MB / 0.5696 GB, free: 12.2 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile [Timeout 660]
(rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.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.183747093193233]