Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001383/0.001383, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.00163/0.00163, allocations: 209 kB / 24.48 MB, free: 3.938 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.551/1.551, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.2413/0.2413, allocations: 44.95 MB / 359.6 MB, free: 6.059 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.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.0.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.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00214/0.00214, allocations: 67.91 kB / 0.4943 GB, free: 10.01 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3648/0.3669, allocations: 65.46 MB / 0.5582 GB, free: 7.469 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.003361/0.3703, allocations: 1.644 MB / 0.5598 GB, free: 5.816 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001114/0.3714, allocations: 0.527 MB / 0.5603 GB, free: 5.285 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.651e-05/0.3715, allocations: 4 kB / 0.5603 GB, free: 5.281 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000657/0.3721, allocations: 455.1 kB / 0.5608 GB, free: 4.836 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005106/0.3726, allocations: 291.3 kB / 0.561 GB, free: 4.551 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003656/0.373, allocations: 139.2 kB / 0.5612 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002425/0.3732, allocations: 171.6 kB / 0.5613 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.3733, allocations: 11.98 kB / 0.5613 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001403/0.3735, allocations: 111.8 kB / 0.5615 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002945/0.3738, allocations: 251.4 kB / 0.5617 GB, free: 3.883 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.177e-05/0.3738, allocations: 4 kB / 0.5617 GB, free: 3.879 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.3739, allocations: 35.98 kB / 0.5617 GB, free: 3.844 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001232/0.374, allocations: 79.69 kB / 0.5618 GB, free: 3.766 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.883e-05/0.3741, allocations: 71.23 kB / 0.5619 GB, free: 3.695 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003618/0.3744, allocations: 269 kB / 0.5621 GB, free: 3.438 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.3745, allocations: 0 / 0.5621 GB, free: 3.438 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.053e-06/0.3745, allocations: 0 / 0.5621 GB, free: 3.438 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.3745, allocations: 4 kB / 0.5621 GB, free: 3.434 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007932/0.3753, allocations: 0.5793 MB / 0.5627 GB, free: 2.824 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.3753, allocations: 8.031 kB / 0.5627 GB, free: 2.816 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.161e-05/0.3754, allocations: 44.66 kB / 0.5627 GB, free: 2.773 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003096/0.3757, allocations: 238.8 kB / 0.563 GB, free: 2.516 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.3757, allocations: 8.375 kB / 0.563 GB, free: 2.508 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.684e-05/0.3757, allocations: 4.375 kB / 0.563 GB, free: 2.504 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.3759, allocations: 57.75 kB / 0.563 GB, free: 2.441 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.3759, allocations: 4 kB / 0.563 GB, free: 2.438 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.3759, allocations: 4 kB / 0.5631 GB, free: 2.434 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.3759, allocations: 0 / 0.5631 GB, free: 2.434 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.901e-05/0.376, allocations: 19.98 kB / 0.5631 GB, free: 2.414 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000478/0.3765, allocations: 336.2 kB / 0.5634 GB, free: 2.055 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002169/0.3767, allocations: 46.5 kB / 0.5634 GB, free: 2 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.012e-05/0.3767, allocations: 12.94 kB / 0.5634 GB, free: 1.984 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.235e-05/0.3768, allocations: 8 kB / 0.5635 GB, free: 1.977 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.3768, allocations: 30.56 kB / 0.5635 GB, free: 1.938 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.3768, allocations: 0 / 0.5635 GB, free: 1.938 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006383/0.3774, allocations: 232.7 kB / 0.5637 GB, free: 1.703 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.095e-05/0.3775, allocations: 51.41 kB / 0.5638 GB, free: 1.641 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009484/0.3784, allocations: 0.8574 MB / 0.5646 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.88e-05/0.3785, allocations: 29.7 kB / 0.5646 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001913/0.3786, allocations: 216 kB / 0.5648 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.265e-05/0.3787, allocations: 15.91 kB / 0.5648 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-05/0.3787, allocations: 17.72 kB / 0.5649 GB, free: 492 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001924/0.3789, allocations: 370.7 kB / 0.5652 GB, free: 112 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.067e-05/0.379, allocations: 19.98 kB / 0.5652 GB, free: 92 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.932e-05/0.379, allocations: 15.98 kB / 0.5652 GB, free: 76 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000142/0.3792, allocations: 52.77 kB / 0.5653 GB, free: 20 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.3792, allocations: 0 / 0.5653 GB, free: 20 kB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002373/0.3794, allocations: 117.3 kB / 0.5654 GB, free: 15.9 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.3794, allocations: 10.66 kB / 0.5654 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.3794, allocations: 0 / 0.5654 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.3795, allocations: 288 / 0.5654 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.265e-05/0.3795, allocations: 11.98 kB / 0.5654 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.3795, allocations: 0 / 0.5654 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.455e-05/0.3796, allocations: 8 kB / 0.5654 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.3796, allocations: 7.984 kB / 0.5654 GB, free: 15.86 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.0002177/0.3798, allocations: 213.7 kB / 0.5657 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.3e-05/0.3799, allocations: 47.7 kB / 0.5657 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003004/0.3802, allocations: 141.3 kB / 0.5658 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.3802, allocations: 64 / 0.5658 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.3802, allocations: 4 kB / 0.5658 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.3802, allocations: 0 / 0.5658 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005798/0.3808, allocations: 402.1 kB / 0.5662 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.3808, allocations: 0 / 0.5662 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.167e-05/0.3809, allocations: 23.98 kB / 0.5662 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.3809, allocations: 0 / 0.5662 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.3809, allocations: 3.938 kB / 0.5662 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3809, allocations: 0 / 0.5662 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.3809, allocations: 3.938 kB / 0.5662 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002872/0.3812, allocations: 211.2 kB / 0.5665 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.822e-05/0.3812, allocations: 35.72 kB / 0.5665 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.339e-05/0.3812, allocations: 0 / 0.5665 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.612e-05/0.3813, allocations: 7.984 kB / 0.5665 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.505e-05/0.3814, allocations: 11.88 kB / 0.5665 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.3814, allocations: 8 kB / 0.5665 GB, free: 14.7 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007305/0.3821, allocations: 0.6511 MB / 0.5671 GB, free: 14.05 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3821, allocations: 0 / 0.5671 GB, free: 14.05 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002746/0.3824, allocations: 19.94 kB / 0.5672 GB, free: 14.03 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.001663/0.384, allocations: 431.6 kB / 0.5676 GB, free: 13.78 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002132/0.3842, allocations: 43.97 kB / 0.5676 GB, free: 13.74 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3842, allocations: 4 kB / 0.5676 GB, free: 13.73 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.432e-05/0.3843, allocations: 23.92 kB / 0.5676 GB, free: 13.71 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004358/0.3848, allocations: 30.58 kB / 0.5677 GB, free: 13.69 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.386, allocations: 0.8314 MB / 0.5685 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/0.3863, allocations: 224.1 kB / 0.5687 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.519e-05/0.3863, allocations: 11.44 kB / 0.5687 GB, free: 12.57 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3864, allocations: 0 / 0.5687 GB, free: 12.57 MB / 414.1 MB Notification: Performance of Templates: time 0.0079/0.3943, allocations: 3.838 MB / 0.5725 GB, free: 8.727 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 8.062531378585845]