Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test7.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.001729/0.001729, 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.002085/0.002085, 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.5/1.5, allocations: 230.3 MB / 258 MB, free: 8.184 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.93 MB / 361.4 MB, free: 4.383 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.CombiTable2Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test7")
translateModel(ModelicaTest.Tables.CombiTable2Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test7") [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.002366/0.002366, allocations: 83.86 kB / 0.4972 GB, free: 7.484 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3523/0.3547, allocations: 66.03 MB / 0.5617 GB, free: 4.543 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.003481/0.3582, allocations: 1.636 MB / 0.5633 GB, free: 2.898 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001042/0.3592, allocations: 0.5488 MB / 0.5638 GB, free: 2.348 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 5.42e-05/0.3593, allocations: 0 / 0.5638 GB, free: 2.348 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0006274/0.3599, allocations: 455.1 kB / 0.5642 GB, free: 1.902 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0005026/0.3604, allocations: 291.3 kB / 0.5645 GB, free: 1.617 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003001/0.3607, allocations: 127.6 kB / 0.5646 GB, free: 1.492 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.000273/0.361, allocations: 167.6 kB / 0.5648 GB, free: 1.328 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 9.013e-05/0.3611, allocations: 12.19 kB / 0.5648 GB, free: 1.312 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/0.3612, allocations: 103.8 kB / 0.5649 GB, free: 1.211 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002682/0.3614, allocations: 247.5 kB / 0.5651 GB, free: 0.9688 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.3615, allocations: 4 kB / 0.5651 GB, free: 0.9648 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 6.77e-05/0.3615, allocations: 19.94 kB / 0.5652 GB, free: 0.9453 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.3616, allocations: 83.69 kB / 0.5652 GB, free: 0.8633 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 8.411e-05/0.3617, allocations: 103 kB / 0.5653 GB, free: 0.7617 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0003849/0.3621, allocations: 257 kB / 0.5656 GB, free: 0.5156 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.3621, allocations: 0 / 0.5656 GB, free: 0.5156 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.603e-06/0.3621, allocations: 0 / 0.5656 GB, free: 0.5156 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 6.472e-06/0.3621, allocations: 4 kB / 0.5656 GB, free: 0.5117 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.0007911/0.3629, allocations: 0.5602 MB / 0.5661 GB, free: 15.92 MB / 414.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.3629, allocations: 12.03 kB / 0.5661 GB, free: 15.91 MB / 414.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.484e-05/0.363, allocations: 40.66 kB / 0.5662 GB, free: 15.87 MB / 414.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002886/0.3633, allocations: 246.8 kB / 0.5664 GB, free: 15.6 MB / 414.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.841e-06/0.3633, allocations: 384 / 0.5664 GB, free: 15.6 MB / 414.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.489e-05/0.3633, allocations: 8.375 kB / 0.5664 GB, free: 15.59 MB / 414.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/0.3635, allocations: 49.3 kB / 0.5665 GB, free: 15.54 MB / 414.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/0.3635, allocations: 0 / 0.5665 GB, free: 15.54 MB / 414.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.3635, allocations: 3.984 kB / 0.5665 GB, free: 15.54 MB / 414.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.3635, allocations: 0 / 0.5665 GB, free: 15.54 MB / 414.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 7.915e-05/0.3636, allocations: 19.98 kB / 0.5665 GB, free: 15.52 MB / 414.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004643/0.364, allocations: 355.7 kB / 0.5668 GB, free: 15.12 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 8.746e-05/0.3641, allocations: 34.56 kB / 0.5669 GB, free: 15.08 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 4.304e-05/0.3642, allocations: 12.92 kB / 0.5669 GB, free: 15.07 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.3642, allocations: 0 / 0.5669 GB, free: 15.07 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.3642, allocations: 34.56 kB / 0.5669 GB, free: 15.02 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=2): time 2.514e-06/0.3642, allocations: 3.984 kB / 0.5669 GB, free: 15.02 MB / 414.1 MB
Notification: Performance of matching and sorting (n=2): time 0.0002604/0.3645, allocations: 105.4 kB / 0.567 GB, free: 14.91 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.95e-05/0.3645, allocations: 55.41 kB / 0.5671 GB, free: 14.84 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008781/0.3654, allocations: 0.8653 MB / 0.5679 GB, free: 13.96 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.3654, allocations: 25.7 kB / 0.5679 GB, free: 13.93 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001732/0.3656, allocations: 220.1 kB / 0.5682 GB, free: 13.71 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 1.626e-05/0.3656, allocations: 7.891 kB / 0.5682 GB, free: 13.71 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.764e-05/0.3656, allocations: 21.7 kB / 0.5682 GB, free: 13.68 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.000273/0.3659, allocations: 354.8 kB / 0.5685 GB, free: 13.32 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 4.195e-05/0.3659, allocations: 15.92 kB / 0.5685 GB, free: 13.31 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 3.181e-05/0.366, allocations: 12 kB / 0.5685 GB, free: 13.3 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 8.719e-05/0.3661, allocations: 24.84 kB / 0.5686 GB, free: 13.27 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.3661, allocations: 4 kB / 0.5686 GB, free: 13.27 MB / 414.1 MB
Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001729/0.3662, allocations: 93.34 kB / 0.5687 GB, free: 13.17 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.3662, allocations: 4 kB / 0.5687 GB, free: 13.16 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.3663, allocations: 0 / 0.5687 GB, free: 13.16 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.3663, allocations: 12.02 kB / 0.5687 GB, free: 13.15 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.264e-05/0.3663, allocations: 4 kB / 0.5687 GB, free: 13.15 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.3663, allocations: 4 kB / 0.5687 GB, free: 13.14 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.261e-05/0.3664, allocations: 3.953 kB / 0.5687 GB, free: 13.14 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.3664, allocations: 0 / 0.5687 GB, free: 13.14 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 (2):
 * Single equations (assignments): 2
 * 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.0001975/0.3666, allocations: 209.8 kB / 0.5689 GB, free: 12.93 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.566e-05/0.3666, allocations: 43.72 kB / 0.5689 GB, free: 12.88 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002028/0.3668, allocations: 108.7 kB / 0.569 GB, free: 12.77 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.3668, allocations: 3.938 kB / 0.569 GB, free: 12.76 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.3669, allocations: 4 kB / 0.569 GB, free: 12.76 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.3669, allocations: 0 / 0.569 GB, free: 12.76 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003461/0.3672, allocations: 252.6 kB / 0.5693 GB, free: 12.47 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.3672, allocations: 0 / 0.5693 GB, free: 12.47 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.854e-05/0.3672, allocations: 7.984 kB / 0.5693 GB, free: 12.46 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.3672, allocations: 0 / 0.5693 GB, free: 12.46 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.461e-06/0.3672, allocations: 7.938 kB / 0.5693 GB, free: 12.45 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.327e-06/0.3673, allocations: 3.938 kB / 0.5693 GB, free: 12.45 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.3673, allocations: 0 / 0.5693 GB, free: 12.45 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002011/0.3675, allocations: 187.3 kB / 0.5695 GB, free: 12.25 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 5.158e-05/0.3675, allocations: 39.7 kB / 0.5695 GB, free: 12.21 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.228e-05/0.3675, allocations: 0 / 0.5695 GB, free: 12.21 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.921e-05/0.3676, allocations: 3.938 kB / 0.5695 GB, free: 12.21 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.654e-05/0.3676, allocations: 0 / 0.5695 GB, free: 12.21 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.3676, allocations: 7.938 kB / 0.5695 GB, free: 12.2 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0006326/0.3682, allocations: 0.659 MB / 0.5702 GB, free: 11.54 MB / 414.1 MB
Notification: Performance of sort global known variables: time 1e-07/0.3682, allocations: 0 / 0.5702 GB, free: 11.54 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0002373/0.3685, allocations: 16 kB / 0.5702 GB, free: 11.53 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 (2):
 * Single equations (assignments): 2
 * 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.001194/0.3697, allocations: 350.1 kB / 0.5705 GB, free: 11.3 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001499/0.3698, allocations: 23.98 kB / 0.5705 GB, free: 11.27 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3698, allocations: 0 / 0.5705 GB, free: 11.27 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 3.568e-05/0.3699, allocations: 4 kB / 0.5705 GB, free: 11.27 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003845/0.3703, allocations: 26.3 kB / 0.5706 GB, free: 11.24 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/0.3713, allocations: 0.7906 MB / 0.5713 GB, free: 10.43 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006556/0.372, allocations: 0.8143 MB / 0.5721 GB, free: 9.582 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 3.793e-05/0.372, allocations: 11.73 kB / 0.5722 GB, free: 9.57 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.013e-05/0.3721, allocations: 15.44 kB / 0.5722 GB, free: 9.555 MB / 414.1 MB
Notification: Performance of SimCode: time 3.01e-07/0.3721, allocations: 3.938 kB / 0.5722 GB, free: 9.551 MB / 414.1 MB
Notification: Performance of Templates: time 0.00466/0.3767, allocations: 1.266 MB / 0.5734 GB, free: 8.285 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test7.makefile [Timeout 660]
(rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test7  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test7.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.097898621112108]