Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002032/0.002032, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002651/0.002651, allocations: 214.4 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.538/1.538, allocations: 230.6 MB / 257.5 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2354/0.2354, allocations: 46.93 MB / 360.9 MB, free: 4.238 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002191/0.002191, allocations: 63.91 kB / 0.4967 GB, free: 7.359 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3571/0.3593, allocations: 66.03 MB / 0.5611 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.003348/0.3627, allocations: 1.675 MB / 0.5628 GB, free: 2.711 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001109/0.3638, allocations: 0.5659 MB / 0.5633 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.651e-05/0.3639, allocations: 0 / 0.5633 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000611/0.3645, allocations: 455.1 kB / 0.5638 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000477/0.3649, allocations: 299.3 kB / 0.5641 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003501/0.3653, allocations: 131 kB / 0.5642 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002454/0.3655, allocations: 171.6 kB / 0.5643 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.788e-05/0.3656, allocations: 19.98 kB / 0.5644 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001361/0.3658, allocations: 107.7 kB / 0.5645 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002992/0.3661, allocations: 247.5 kB / 0.5647 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.881e-05/0.3661, allocations: 4 kB / 0.5647 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.273e-05/0.3662, allocations: 39.97 kB / 0.5647 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001287/0.3663, allocations: 79.7 kB / 0.5648 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.554e-05/0.3664, allocations: 103 kB / 0.5649 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003634/0.3668, allocations: 261 kB / 0.5652 GB, free: 276 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.3668, allocations: 7.938 kB / 0.5652 GB, free: 268 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3668, allocations: 0 / 0.5652 GB, free: 268 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.121e-05/0.3668, allocations: 0 / 0.5652 GB, free: 268 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008187/0.3676, allocations: 0.5776 MB / 0.5657 GB, free: 15.65 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.3676, allocations: 8.031 kB / 0.5657 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.72e-05/0.3677, allocations: 44.66 kB / 0.5658 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003064/0.368, allocations: 238.8 kB / 0.566 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.368, allocations: 4.375 kB / 0.566 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.539e-05/0.3681, allocations: 8.375 kB / 0.566 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.3682, allocations: 53.75 kB / 0.5661 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.3682, allocations: 0 / 0.5661 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.3682, allocations: 11.94 kB / 0.5661 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.3682, allocations: 0 / 0.5661 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001072/0.3683, allocations: 23.97 kB / 0.5661 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004902/0.3688, allocations: 363.7 kB / 0.5665 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002119/0.369, allocations: 46.5 kB / 0.5665 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.162e-05/0.3691, allocations: 16.86 kB / 0.5665 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.3691, allocations: 0 / 0.5665 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.3692, allocations: 34.64 kB / 0.5665 GB, free: 14.72 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.3692, allocations: 0 / 0.5665 GB, free: 14.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006401/0.3698, allocations: 232.7 kB / 0.5668 GB, free: 14.49 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.3698, allocations: 51.41 kB / 0.5668 GB, free: 14.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009581/0.3708, allocations: 0.8653 MB / 0.5677 GB, free: 13.55 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.3708, allocations: 29.7 kB / 0.5677 GB, free: 13.51 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000196/0.371, allocations: 220 kB / 0.5679 GB, free: 13.29 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.818e-05/0.371, allocations: 23.83 kB / 0.5679 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.683e-05/0.3711, allocations: 13.72 kB / 0.5679 GB, free: 13.25 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001933/0.3713, allocations: 366.7 kB / 0.5683 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.655e-05/0.3714, allocations: 19.98 kB / 0.5683 GB, free: 12.86 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.799e-05/0.3714, allocations: 19.98 kB / 0.5683 GB, free: 12.84 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/0.3716, allocations: 49.02 kB / 0.5684 GB, free: 12.79 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.3716, allocations: 0 / 0.5684 GB, free: 12.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002382/0.3718, allocations: 125.3 kB / 0.5685 GB, free: 12.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.3718, allocations: 12 kB / 0.5685 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3718, allocations: 0 / 0.5685 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.3718, allocations: 0 / 0.5685 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.839e-05/0.3719, allocations: 8 kB / 0.5685 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.3719, allocations: 7.984 kB / 0.5685 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.855e-05/0.372, allocations: 3.938 kB / 0.5685 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.372, allocations: 4 kB / 0.5685 GB, free: 12.63 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 0.0002159/0.3722, allocations: 213.8 kB / 0.5687 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.113e-05/0.3723, allocations: 43.72 kB / 0.5688 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003195/0.3726, allocations: 133.4 kB / 0.5689 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.3726, allocations: 0 / 0.5689 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.3726, allocations: 3.938 kB / 0.5689 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.772e-06/0.3726, allocations: 7.922 kB / 0.5689 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005832/0.3732, allocations: 429.5 kB / 0.5693 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3732, allocations: 8 kB / 0.5693 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.863e-05/0.3732, allocations: 11.94 kB / 0.5693 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.3732, allocations: 0 / 0.5693 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.3732, allocations: 3.938 kB / 0.5693 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.3732, allocations: 7.984 kB / 0.5694 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3732, allocations: 0 / 0.5694 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002761/0.3735, allocations: 211.4 kB / 0.5696 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.695e-05/0.3736, allocations: 39.67 kB / 0.5696 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.68e-05/0.3736, allocations: 3.938 kB / 0.5696 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.123e-05/0.3737, allocations: 7.984 kB / 0.5696 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.054e-05/0.3737, allocations: 4 kB / 0.5696 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-06/0.3737, allocations: 4 kB / 0.5696 GB, free: 11.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007149/0.3744, allocations: 0.6511 MB / 0.5702 GB, free: 10.78 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3744, allocations: 0 / 0.5702 GB, free: 10.78 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002736/0.3747, allocations: 27.94 kB / 0.5703 GB, free: 10.75 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.001566/0.3763, allocations: 417.8 kB / 0.5707 GB, free: 10.5 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000209/0.3765, allocations: 43.97 kB / 0.5707 GB, free: 10.46 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.3765, allocations: 0 / 0.5707 GB, free: 10.46 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.202e-05/0.3766, allocations: 28.11 kB / 0.5707 GB, free: 10.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003951/0.377, allocations: 34.17 kB / 0.5708 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001201/0.3782, allocations: 0.8022 MB / 0.5716 GB, free: 9.566 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005051/0.3787, allocations: 0.826 MB / 0.5724 GB, free: 8.715 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.349e-05/0.3787, allocations: 11.77 kB / 0.5724 GB, free: 8.703 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.175e-05/0.3788, allocations: 15.44 kB / 0.5724 GB, free: 8.691 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3788, allocations: 0 / 0.5724 GB, free: 8.691 MB / 414.1 MB Notification: Performance of Templates: time 0.00532/0.3841, allocations: 1.511 MB / 0.5739 GB, free: 7.184 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.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.4917692970484495]