Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.001958/0.001958, allocations: 106 kB / 21.22 MB, free: 0.6758 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.002975/0.002975, allocations: 189.3 kB / 24.51 MB, free: 4.051 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.53/1.53, 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.2298/0.2298, allocations: 44.92 MB / 353.5 MB, free: 11.82 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.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002604/0.002604, allocations: 67.89 kB / 497.7 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5527/0.5553, allocations: 64.28 MB / 0.5488 GB, free: 13.15 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.004094/0.5594, allocations: 1.67 MB / 0.5505 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001088/0.5605, allocations: 466.3 kB / 0.5509 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001147/0.5606, allocations: 5.125 kB / 0.5509 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007792/0.5614, allocations: 452.9 kB / 0.5514 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005275/0.5619, allocations: 253.5 kB / 0.5516 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006189/0.5626, allocations: 173.6 kB / 0.5518 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004195/0.563, allocations: 176.3 kB / 0.5519 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.5631, allocations: 16.22 kB / 0.5519 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002479/0.5634, allocations: 115.7 kB / 0.5521 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004004/0.5638, allocations: 247.2 kB / 0.5523 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.154e-05/0.5638, allocations: 3.281 kB / 0.5523 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00016/0.564, allocations: 47.36 kB / 0.5523 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001473/0.5641, allocations: 91.05 kB / 0.5524 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001188/0.5642, allocations: 103.5 kB / 0.5525 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004709/0.5647, allocations: 264.7 kB / 0.5528 GB, free: 10.52 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.5647, allocations: 0 / 0.5528 GB, free: 10.52 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.5647, allocations: 1.094 kB / 0.5528 GB, free: 10.52 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.048e-05/0.5647, allocations: 0 / 0.5528 GB, free: 10.52 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.001087/0.5658, allocations: 0.5873 MB / 0.5533 GB, free: 9.992 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.5659, allocations: 9.953 kB / 0.5534 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/0.566, allocations: 47.33 kB / 0.5534 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003423/0.5663, allocations: 244.7 kB / 0.5536 GB, free: 9.738 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.5663, allocations: 2.875 kB / 0.5536 GB, free: 9.738 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.823e-05/0.5663, allocations: 2.719 kB / 0.5536 GB, free: 9.738 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000186/0.5665, allocations: 62.11 kB / 0.5537 GB, free: 9.688 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.5665, allocations: 5.062 kB / 0.5537 GB, free: 9.684 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.5666, allocations: 0 / 0.5537 GB, free: 9.684 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.5666, allocations: 5.156 kB / 0.5537 GB, free: 9.68 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001204/0.5667, allocations: 34.41 kB / 0.5537 GB, free: 9.664 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006757/0.5674, allocations: 374.6 kB / 0.5541 GB, free: 9.332 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001346/0.5675, allocations: 47.84 kB / 0.5541 GB, free: 9.293 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.071e-05/0.5676, allocations: 24.3 kB / 0.5542 GB, free: 9.273 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.406e-05/0.5676, allocations: 5.094 kB / 0.5542 GB, free: 9.27 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/0.5676, allocations: 31.69 kB / 0.5542 GB, free: 9.23 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.5676, allocations: 0 / 0.5542 GB, free: 9.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001211/0.5688, allocations: 330.3 kB / 0.5545 GB, free: 9.035 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.095e-05/0.5689, allocations: 56.31 kB / 0.5546 GB, free: 8.969 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/0.57, allocations: 0.8592 MB / 0.5554 GB, free: 8.539 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/0.57, allocations: 29.7 kB / 0.5554 GB, free: 8.504 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002034/0.5703, allocations: 224 kB / 0.5557 GB, free: 8.281 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.535e-05/0.5703, allocations: 31.73 kB / 0.5557 GB, free: 8.25 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-05/0.5703, allocations: 25.7 kB / 0.5557 GB, free: 8.219 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000187/0.5705, allocations: 354.8 kB / 0.556 GB, free: 7.863 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/0.5706, allocations: 35.97 kB / 0.5561 GB, free: 7.828 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.189e-05/0.5707, allocations: 35.92 kB / 0.5561 GB, free: 7.793 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001831/0.5709, allocations: 72.81 kB / 0.5562 GB, free: 7.719 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.5709, allocations: 0 / 0.5562 GB, free: 7.719 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003007/0.5712, allocations: 145.4 kB / 0.5563 GB, free: 7.57 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.5712, allocations: 4 kB / 0.5563 GB, free: 7.566 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.5712, allocations: 4 kB / 0.5563 GB, free: 7.562 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.5713, allocations: 3.938 kB / 0.5563 GB, free: 7.559 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.5714, allocations: 19.98 kB / 0.5564 GB, free: 7.539 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.477e-05/0.5714, allocations: 7.875 kB / 0.5564 GB, free: 7.531 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.013e-05/0.5715, allocations: 4 kB / 0.5564 GB, free: 7.527 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.906e-06/0.5715, allocations: 0 / 0.5564 GB, free: 7.527 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.0002445/0.5717, allocations: 225.7 kB / 0.5566 GB, free: 7.297 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.541e-05/0.5718, allocations: 39.72 kB / 0.5566 GB, free: 7.258 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003848/0.5722, allocations: 177.4 kB / 0.5568 GB, free: 7.074 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/0.5722, allocations: 4 kB / 0.5568 GB, free: 7.07 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.5722, allocations: 3.938 kB / 0.5568 GB, free: 7.066 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.5722, allocations: 0 / 0.5568 GB, free: 7.066 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007775/0.573, allocations: 490.7 kB / 0.5573 GB, free: 6.535 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.573, allocations: 7.969 kB / 0.5573 GB, free: 6.527 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.645e-05/0.5731, allocations: 19.92 kB / 0.5573 GB, free: 6.508 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.5731, allocations: 4 kB / 0.5573 GB, free: 6.504 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.5731, allocations: 4 kB / 0.5573 GB, free: 6.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.5731, allocations: 0 / 0.5573 GB, free: 6.5 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.5731, allocations: 0 / 0.5573 GB, free: 6.5 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003379/0.5734, allocations: 252.1 kB / 0.5575 GB, free: 6.234 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.51e-05/0.5735, allocations: 43.64 kB / 0.5576 GB, free: 6.191 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.002e-05/0.5735, allocations: 0 / 0.5576 GB, free: 6.191 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.833e-05/0.5736, allocations: 7.938 kB / 0.5576 GB, free: 6.184 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.151e-05/0.5736, allocations: 11.98 kB / 0.5576 GB, free: 6.172 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.5737, allocations: 0 / 0.5576 GB, free: 6.172 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007024/0.5744, allocations: 0.6472 MB / 0.5582 GB, free: 5.527 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5744, allocations: 0 / 0.5582 GB, free: 5.527 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002941/0.5747, allocations: 35.92 kB / 0.5583 GB, free: 5.492 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.001768/0.5764, allocations: 460.6 kB / 0.5587 GB, free: 5.223 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000306/0.5767, allocations: 79.89 kB / 0.5588 GB, free: 5.145 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/0.5767, allocations: 4 kB / 0.5588 GB, free: 5.141 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001057/0.5768, allocations: 35.98 kB / 0.5588 GB, free: 5.105 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004506/0.5773, allocations: 33.02 kB / 0.5589 GB, free: 5.074 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001364/0.5787, allocations: 0.823 MB / 0.5597 GB, free: 4.223 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000586/0.5792, allocations: 0.8376 MB / 0.5605 GB, free: 3.359 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.798e-05/0.5793, allocations: 24.7 kB / 0.5605 GB, free: 3.336 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.148e-05/0.5794, allocations: 11.44 kB / 0.5605 GB, free: 3.324 MB / 398.1 MB Notification: Performance of SimCode: time 3.3e-07/0.5794, allocations: 0 / 0.5605 GB, free: 3.324 MB / 398.1 MB Notification: Performance of Templates: time 0.00622/0.5856, allocations: 1.802 MB / 0.5623 GB, free: 1.531 MB / 398.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.625452456064522]