Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24.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.001425/0.001425, allocations: 110.5 kB / 21.23 MB, free: 0.5117 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.001739/0.001739, allocations: 207.9 kB / 24.53 MB, free: 3.891 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.48/1.48, allocations: 230.3 MB / 258 MB, free: 8.219 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.233/0.233, allocations: 46.95 MB / 361.4 MB, free: 4.391 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.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24")
translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24") [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.002455/0.002455, allocations: 79.88 kB / 0.4972 GB, free: 7.488 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4219/0.4244, allocations: 66.04 MB / 0.5617 GB, free: 4.477 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.003782/0.4282, allocations: 1.696 MB / 0.5633 GB, free: 2.773 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001161/0.4293, allocations: 0.6005 MB / 0.5639 GB, free: 2.172 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 7.489e-05/0.4294, allocations: 4 kB / 0.5639 GB, free: 2.168 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0002655/0.4297, allocations: 47.75 kB / 0.564 GB, free: 2.121 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0003369/0.43, allocations: 91.59 kB / 0.5641 GB, free: 2.031 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0005032/0.4305, allocations: 187 kB / 0.5642 GB, free: 1.852 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002215/0.4307, allocations: 87.75 kB / 0.5643 GB, free: 1.766 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.4309, allocations: 23.03 kB / 0.5643 GB, free: 1.742 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 7.788e-05/0.4309, allocations: 35.84 kB / 0.5644 GB, free: 1.707 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001221/0.4311, allocations: 51.77 kB / 0.5644 GB, free: 1.656 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.4311, allocations: 4 kB / 0.5644 GB, free: 1.652 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001409/0.4312, allocations: 43.98 kB / 0.5645 GB, free: 1.609 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 7.521e-05/0.4313, allocations: 27.84 kB / 0.5645 GB, free: 1.582 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 4.507e-05/0.4313, allocations: 27.81 kB / 0.5645 GB, free: 1.555 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002445/0.4316, allocations: 123.2 kB / 0.5646 GB, free: 1.438 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.4316, allocations: 0 / 0.5646 GB, free: 1.438 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.593e-06/0.4316, allocations: 0 / 0.5646 GB, free: 1.438 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 7.143e-06/0.4316, allocations: 0 / 0.5646 GB, free: 1.438 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: 9
 * Number of variables: 9
Notification: Performance of Generate backend data structure: time 0.0006328/0.4322, allocations: 341.6 kB / 0.565 GB, free: 1.07 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.4323, allocations: 8.031 kB / 0.565 GB, free: 1.062 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.827e-05/0.4323, allocations: 8.891 kB / 0.565 GB, free: 1.055 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002198/0.4325, allocations: 146.3 kB / 0.5651 GB, free: 0.8867 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.4325, allocations: 8.375 kB / 0.5651 GB, free: 0.8789 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.968e-05/0.4326, allocations: 8.359 kB / 0.5651 GB, free: 0.8711 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001873/0.4328, allocations: 66.22 kB / 0.5652 GB, free: 0.8008 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.4328, allocations: 192 / 0.5652 GB, free: 0.8008 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.4328, allocations: 3.938 kB / 0.5652 GB, free: 0.7969 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.4328, allocations: 4 kB / 0.5652 GB, free: 0.793 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001438/0.4329, allocations: 43.91 kB / 0.5653 GB, free: 0.75 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004904/0.4334, allocations: 291.8 kB / 0.5655 GB, free: 432 kB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002359/0.4337, allocations: 58.58 kB / 0.5656 GB, free: 364 kB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 7.886e-05/0.4337, allocations: 24.97 kB / 0.5656 GB, free: 336 kB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.4338, allocations: 4 kB / 0.5656 GB, free: 332 kB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.4338, allocations: 38.55 kB / 0.5656 GB, free: 284 kB / 398.1 MB
Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.4338, allocations: 0 / 0.5656 GB, free: 284 kB / 398.1 MB
Notification: Performance of matching and sorting (n=11): time 0.001453/0.4352, allocations: 421.3 kB / 0.5661 GB, free: 15.86 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/0.4353, allocations: 55.41 kB / 0.5661 GB, free: 15.79 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001854/0.4355, allocations: 182.7 kB / 0.5663 GB, free: 15.6 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.4355, allocations: 29.7 kB / 0.5663 GB, free: 15.57 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.4356, allocations: 108 kB / 0.5664 GB, free: 15.46 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 4.311e-05/0.4356, allocations: 39.67 kB / 0.5664 GB, free: 15.42 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.351e-05/0.4357, allocations: 29.7 kB / 0.5665 GB, free: 15.38 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001497/0.4358, allocations: 322.8 kB / 0.5668 GB, free: 15.06 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.000144/0.436, allocations: 55.89 kB / 0.5668 GB, free: 15 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.4361, allocations: 55.97 kB / 0.5669 GB, free: 14.95 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002816/0.4364, allocations: 128.7 kB / 0.567 GB, free: 14.82 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.4364, allocations: 0 / 0.567 GB, free: 14.82 MB / 414.1 MB
Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003426/0.4367, allocations: 161.6 kB / 0.5672 GB, free: 14.66 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.4368, allocations: 4 kB / 0.5672 GB, free: 14.65 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.4368, allocations: 4 kB / 0.5672 GB, free: 14.65 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.4368, allocations: 0 / 0.5672 GB, free: 14.65 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/0.4369, allocations: 31.91 kB / 0.5672 GB, free: 14.62 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.4369, allocations: 4 kB / 0.5672 GB, free: 14.61 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.822e-05/0.437, allocations: 7.938 kB / 0.5672 GB, free: 14.61 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.437, allocations: 7.984 kB / 0.5672 GB, free: 14.6 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 (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.0001047/0.4371, allocations: 121.8 kB / 0.5673 GB, free: 14.47 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.116e-05/0.4371, allocations: 19.91 kB / 0.5674 GB, free: 14.45 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004405/0.4376, allocations: 194.5 kB / 0.5675 GB, free: 14.25 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.4376, allocations: 4 kB / 0.5675 GB, free: 14.25 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.4376, allocations: 0 / 0.5675 GB, free: 14.25 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.4376, allocations: 3.938 kB / 0.5676 GB, free: 14.24 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007192/0.4383, allocations: 467.1 kB / 0.568 GB, free: 13.73 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.4383, allocations: 0 / 0.568 GB, free: 13.73 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/0.4384, allocations: 39.84 kB / 0.568 GB, free: 13.69 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-05/0.4384, allocations: 4 kB / 0.568 GB, free: 13.69 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.4384, allocations: 0 / 0.568 GB, free: 13.69 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.4385, allocations: 4 kB / 0.568 GB, free: 13.68 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.4385, allocations: 0 / 0.568 GB, free: 13.68 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003997/0.4389, allocations: 273.1 kB / 0.5683 GB, free: 13.39 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.011e-05/0.4389, allocations: 15.84 kB / 0.5683 GB, free: 13.38 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.9e-05/0.4389, allocations: 0 / 0.5683 GB, free: 13.38 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.616e-05/0.439, allocations: 20.08 kB / 0.5683 GB, free: 13.36 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.683e-05/0.439, allocations: 12.11 kB / 0.5684 GB, free: 13.35 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.439, allocations: 4 kB / 0.5684 GB, free: 13.34 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.000143/0.4392, allocations: 139.3 kB / 0.5685 GB, free: 13.21 MB / 414.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.4392, allocations: 0 / 0.5685 GB, free: 13.21 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0002852/0.4395, allocations: 31.92 kB / 0.5685 GB, free: 13.18 MB / 414.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 3
 * 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 (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 Backend phase and start with SimCode phase: time 0.001642/0.4411, allocations: 453.2 kB / 0.5689 GB, free: 12.89 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0003595/0.4415, allocations: 123.8 kB / 0.5691 GB, free: 12.77 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 4.748e-06/0.4415, allocations: 4 kB / 0.5691 GB, free: 12.76 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001601/0.4416, allocations: 67.89 kB / 0.5691 GB, free: 12.7 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003498/0.442, allocations: 28.03 kB / 0.5692 GB, free: 12.67 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000646/0.4426, allocations: 304 kB / 0.5695 GB, free: 12.34 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003711/0.443, allocations: 0.7159 MB / 0.5702 GB, free: 11.6 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 9.717e-05/0.4431, allocations: 28.45 kB / 0.5702 GB, free: 11.57 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.25e-05/0.4432, allocations: 23.42 kB / 0.5702 GB, free: 11.55 MB / 414.1 MB
Notification: Performance of SimCode: time 4.2e-07/0.4432, allocations: 4 kB / 0.5702 GB, free: 11.54 MB / 414.1 MB
Notification: Performance of Templates: time 0.00499/0.4481, allocations: 1.689 MB / 0.5719 GB, free: 9.867 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile [Timeout 660]
(rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24.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.214010372757912]