Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 110 kB / 21.23 MB, free: 0.6602 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 186.4 kB / 24.51 MB, free: 4.035 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.511/1.511, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2457/0.2457, allocations: 44.91 MB / 353.5 MB, free: 11.8 MB / 286.1 MB
"
[Timeout remaining time 179]
Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo)
Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1")
translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002086/0.002086, allocations: 67.89 kB / 497.7 MB, free: 0.957 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4795/0.4816, allocations: 64.29 MB / 0.5488 GB, free: 13.13 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.004059/0.4856, allocations: 1.659 MB / 0.5505 GB, free: 11.84 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001116/0.4867, allocations: 451.1 kB / 0.5509 GB, free: 11.5 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 7.289e-05/0.4868, allocations: 1.125 kB / 0.5509 GB, free: 11.5 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0007685/0.4876, allocations: 447.9 kB / 0.5513 GB, free: 11.3 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0005233/0.4881, allocations: 251.1 kB / 0.5516 GB, free: 11.19 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0004692/0.4886, allocations: 128.6 kB / 0.5517 GB, free: 11.11 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0003038/0.4889, allocations: 166.3 kB / 0.5518 GB, free: 11.03 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001417/0.489, allocations: 21.3 kB / 0.5519 GB, free: 11.02 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001821/0.4892, allocations: 109.3 kB / 0.552 GB, free: 10.97 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003495/0.4896, allocations: 246.6 kB / 0.5522 GB, free: 10.88 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.521e-05/0.4896, allocations: 3.688 kB / 0.5522 GB, free: 10.88 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001614/0.4897, allocations: 62.95 kB / 0.5523 GB, free: 10.85 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001465/0.4899, allocations: 78.73 kB / 0.5523 GB, free: 10.81 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001253/0.49, allocations: 103.1 kB / 0.5524 GB, free: 10.72 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.000467/0.4905, allocations: 266 kB / 0.5527 GB, free: 10.56 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.4905, allocations: 0 / 0.5527 GB, free: 10.56 MB / 398.1 MB
Notification: Performance of FrontEnd: time 2.184e-06/0.4905, allocations: 0 / 0.5527 GB, free: 10.56 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 1.582e-05/0.4905, allocations: 1.281 kB / 0.5527 GB, free: 10.56 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.0009608/0.4915, allocations: 0.5838 MB / 0.5533 GB, free: 10.04 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.316e-05/0.4915, allocations: 9.891 kB / 0.5533 GB, free: 10.04 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 9.622e-05/0.4916, allocations: 42.81 kB / 0.5533 GB, free: 10.02 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003489/0.492, allocations: 245 kB / 0.5536 GB, free: 9.789 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.492, allocations: 2.531 kB / 0.5536 GB, free: 9.789 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.021e-05/0.492, allocations: 2.531 kB / 0.5536 GB, free: 9.789 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002171/0.4922, allocations: 65.08 kB / 0.5536 GB, free: 9.734 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.4922, allocations: 0 / 0.5536 GB, free: 9.734 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.4923, allocations: 5.031 kB / 0.5536 GB, free: 9.73 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.4923, allocations: 5.094 kB / 0.5536 GB, free: 9.727 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001131/0.4924, allocations: 24.2 kB / 0.5537 GB, free: 9.719 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006359/0.493, allocations: 364.5 kB / 0.554 GB, free: 9.391 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/0.4932, allocations: 45.83 kB / 0.554 GB, free: 9.352 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 6.122e-05/0.4932, allocations: 15.45 kB / 0.5541 GB, free: 9.34 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.949e-05/0.4933, allocations: 4.969 kB / 0.5541 GB, free: 9.336 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.985e-05/0.4933, allocations: 35.7 kB / 0.5541 GB, free: 9.293 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=4): time 1.302e-06/0.4933, allocations: 0 / 0.5541 GB, free: 9.293 MB / 398.1 MB
Notification: Performance of matching and sorting (n=8): time 0.001164/0.4945, allocations: 314.7 kB / 0.5544 GB, free: 9.105 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.847e-05/0.4945, allocations: 56.44 kB / 0.5545 GB, free: 9.039 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001188/0.4957, allocations: 0.8592 MB / 0.5553 GB, free: 8.621 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.4957, allocations: 30.8 kB / 0.5553 GB, free: 8.586 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0002527/0.496, allocations: 221 kB / 0.5555 GB, free: 8.395 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 4.325e-05/0.496, allocations: 27.27 kB / 0.5556 GB, free: 8.371 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.706e-05/0.4961, allocations: 22.72 kB / 0.5556 GB, free: 8.348 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002172/0.4963, allocations: 358.8 kB / 0.5559 GB, free: 7.988 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 9.14e-05/0.4964, allocations: 27.98 kB / 0.5559 GB, free: 7.961 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 8.774e-05/0.4965, allocations: 23.98 kB / 0.556 GB, free: 7.938 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001598/0.4966, allocations: 60.83 kB / 0.556 GB, free: 7.875 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.4966, allocations: 0 / 0.556 GB, free: 7.875 MB / 398.1 MB
Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002689/0.4969, allocations: 133.3 kB / 0.5562 GB, free: 7.738 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.4969, allocations: 7.984 kB / 0.5562 GB, free: 7.73 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.4969, allocations: 11.94 kB / 0.5562 GB, free: 7.719 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.497, allocations: 0 / 0.5562 GB, free: 7.719 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.4971, allocations: 15.94 kB / 0.5562 GB, free: 7.703 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.4971, allocations: 3.938 kB / 0.5562 GB, free: 7.699 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.935e-05/0.4971, allocations: 7.984 kB / 0.5562 GB, free: 7.691 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.4971, allocations: 4 kB / 0.5562 GB, free: 7.688 MB / 398.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 (8):
 * Single equations (assignments): 8
 * 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.000241/0.4974, allocations: 213.7 kB / 0.5564 GB, free: 7.469 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.091e-05/0.4975, allocations: 47.7 kB / 0.5565 GB, free: 7.422 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003826/0.4978, allocations: 173.6 kB / 0.5566 GB, free: 7.242 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.4978, allocations: 0 / 0.5566 GB, free: 7.242 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/0.4978, allocations: 3.938 kB / 0.5566 GB, free: 7.238 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.4978, allocations: 4 kB / 0.5566 GB, free: 7.234 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007644/0.4986, allocations: 470.3 kB / 0.5571 GB, free: 6.723 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.4986, allocations: 7.969 kB / 0.5571 GB, free: 6.715 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.05e-05/0.4987, allocations: 16 kB / 0.5571 GB, free: 6.699 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 5.73e-06/0.4987, allocations: 3.984 kB / 0.5571 GB, free: 6.695 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.4987, allocations: 0 / 0.5571 GB, free: 6.695 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.4987, allocations: 4 kB / 0.5571 GB, free: 6.691 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.4987, allocations: 0 / 0.5571 GB, free: 6.691 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003415/0.4991, allocations: 244 kB / 0.5573 GB, free: 6.434 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 6.537e-05/0.4991, allocations: 39.66 kB / 0.5574 GB, free: 6.395 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.025e-05/0.4991, allocations: 7.938 kB / 0.5574 GB, free: 6.387 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.515e-05/0.4992, allocations: 4 kB / 0.5574 GB, free: 6.383 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.649e-05/0.4993, allocations: 11.98 kB / 0.5574 GB, free: 6.371 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.4993, allocations: 0 / 0.5574 GB, free: 6.371 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 0.0007283/0.5, allocations: 0.6472 MB / 0.558 GB, free: 5.727 MB / 398.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.5, allocations: 0 / 0.558 GB, free: 5.727 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.000292/0.5003, allocations: 27.98 kB / 0.5581 GB, free: 5.699 MB / 398.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: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (8):
 * Single equations (assignments): 8
 * 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.001907/0.5022, allocations: 461 kB / 0.5585 GB, free: 5.426 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.0003159/0.5025, allocations: 67.91 kB / 0.5586 GB, free: 5.359 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.5025, allocations: 0 / 0.5586 GB, free: 5.359 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 9.697e-05/0.5026, allocations: 35.91 kB / 0.5586 GB, free: 5.324 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004832/0.5031, allocations: 32.73 kB / 0.5586 GB, free: 5.297 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001488/0.5046, allocations: 0.8075 MB / 0.5594 GB, free: 4.461 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005896/0.5052, allocations: 0.8297 MB / 0.5602 GB, free: 3.605 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 7.271e-05/0.5053, allocations: 24.89 kB / 0.5602 GB, free: 3.578 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.475e-05/0.5053, allocations: 11.44 kB / 0.5603 GB, free: 3.566 MB / 398.1 MB
Notification: Performance of SimCode: time 8.92e-07/0.5053, allocations: 4 kB / 0.5603 GB, free: 3.562 MB / 398.1 MB
Notification: Performance of Templates: time 0.006413/0.5117, allocations: 1.739 MB / 0.562 GB, free: 1.828 MB / 398.1 MB
"
[Timeout remaining time 659]
make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.makefile [Timeout 660]
(rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.42359187360853]