Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.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.0009047/0.0009047, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003854/0.004759, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0008934/0.0008934, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00291/0.003803, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9902/0.9902, allocations: 177.2 MB / 189.8 MB, free: 5.266 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1022/1.092, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] 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.2692/0.2692, allocations: 34.25 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03041/0.2996, allocations: 13.11 MB / 291.5 MB, free: 7.336 MB / 282.7 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.CombiTable1Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.404e-06/2.404e-06, allocations: 0 / 292.9 MB, free: 6.191 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.49e-05/2.73e-05, allocations: 2.312 kB / 292.9 MB, free: 6.188 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.003407/0.003434, allocations: 1.703 MB / 294.6 MB, free: 4.477 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00103/0.004464, allocations: 0.5452 MB / 295.1 MB, free: 3.926 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.354e-05/0.004537, allocations: 0 / 295.1 MB, free: 3.926 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002593/0.004796, allocations: 83.64 kB / 295.2 MB, free: 3.844 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002976/0.005094, allocations: 107.4 kB / 295.3 MB, free: 3.738 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002992/0.005393, allocations: 99.58 kB / 295.4 MB, free: 3.641 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001833/0.005577, allocations: 87.75 kB / 295.5 MB, free: 3.555 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.632e-05/0.005673, allocations: 11.98 kB / 295.5 MB, free: 3.543 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00014/0.005813, allocations: 71.81 kB / 295.6 MB, free: 3.473 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.005929, allocations: 47.88 kB / 295.6 MB, free: 3.426 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.005947, allocations: 4 kB / 295.6 MB, free: 3.422 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001048/0.006052, allocations: 43.92 kB / 295.7 MB, free: 3.379 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.897e-05/0.006111, allocations: 15.94 kB / 295.7 MB, free: 3.363 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.08e-05/0.006141, allocations: 11.94 kB / 295.7 MB, free: 3.352 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000191/0.006332, allocations: 91.55 kB / 295.8 MB, free: 3.262 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.293e-05/0.006345, allocations: 0 / 295.8 MB, free: 3.262 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.006347, allocations: 0 / 295.8 MB, free: 3.262 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.006357, allocations: 0 / 295.8 MB, free: 3.262 MB / 282.7 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.000469/0.006826, allocations: 333.1 kB / 296.1 MB, free: 2.914 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.00686, allocations: 8.031 kB / 296.1 MB, free: 2.906 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.083e-05/0.006901, allocations: 12.92 kB / 296.1 MB, free: 2.895 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001848/0.007086, allocations: 142.3 kB / 296.3 MB, free: 2.727 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.368e-06/0.007095, allocations: 384 / 296.3 MB, free: 2.727 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.496e-05/0.00712, allocations: 8.328 kB / 296.3 MB, free: 2.719 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.007238, allocations: 58.89 kB / 296.3 MB, free: 2.652 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.007249, allocations: 4.172 kB / 296.3 MB, free: 2.648 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.007256, allocations: 4.125 kB / 296.3 MB, free: 2.645 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.007263, allocations: 0 / 296.3 MB, free: 2.645 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.948e-05/0.007292, allocations: 8 kB / 296.3 MB, free: 2.637 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002662/0.007559, allocations: 171.1 kB / 296.5 MB, free: 2.453 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.328e-05/0.007632, allocations: 38.61 kB / 296.5 MB, free: 2.406 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.082e-05/0.007653, allocations: 16.84 kB / 296.6 MB, free: 2.387 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.133e-05/0.007674, allocations: 0 / 296.6 MB, free: 2.387 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.0077, allocations: 34.5 kB / 296.6 MB, free: 2.344 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.223e-06/0.007701, allocations: 0 / 296.6 MB, free: 2.344 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005798/0.008281, allocations: 145.4 kB / 296.7 MB, free: 2.195 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.454e-05/0.008316, allocations: 55.41 kB / 296.8 MB, free: 2.129 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001541/0.00847, allocations: 181.5 kB / 297 MB, free: 1.938 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.008485, allocations: 25.7 kB / 297 MB, free: 1.906 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.147e-05/0.008526, allocations: 100.1 kB / 297.1 MB, free: 1.805 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.155e-05/0.008558, allocations: 31.73 kB / 297.1 MB, free: 1.773 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.711e-05/0.008595, allocations: 25.64 kB / 297.1 MB, free: 1.742 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.721e-05/0.008692, allocations: 322.8 kB / 297.5 MB, free: 1.418 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.122e-05/0.008713, allocations: 11.97 kB / 297.5 MB, free: 1.406 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.712e-05/0.00873, allocations: 8 kB / 297.5 MB, free: 1.398 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.26e-05/0.008773, allocations: 20.84 kB / 297.5 MB, free: 1.375 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.008774, allocations: 4 kB / 297.5 MB, free: 1.371 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.638e-05/0.008861, allocations: 62.03 kB / 297.6 MB, free: 1.305 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.008875, allocations: 4 kB / 297.6 MB, free: 1.301 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.008884, allocations: 0 / 297.6 MB, free: 1.301 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.008899, allocations: 8 kB / 297.6 MB, free: 1.293 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.858e-05/0.008987, allocations: 19.92 kB / 297.6 MB, free: 1.273 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.056e-06/0.00899, allocations: 0 / 297.6 MB, free: 1.273 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.006e-05/0.00902, allocations: 8 kB / 297.6 MB, free: 1.266 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.009027, allocations: 0 / 297.6 MB, free: 1.266 MB / 282.7 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 6.853e-05/0.009095, allocations: 112.7 kB / 297.7 MB, free: 1.145 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.347e-05/0.009129, allocations: 19.91 kB / 297.7 MB, free: 1.125 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001359/0.009265, allocations: 71.12 kB / 297.8 MB, free: 1.047 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.009268, allocations: 4 kB / 297.8 MB, free: 1.043 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.00927, allocations: 0 / 297.8 MB, free: 1.043 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.009274, allocations: 7.922 kB / 297.8 MB, free: 1.035 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003135/0.009588, allocations: 251.8 kB / 298.1 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.00959, allocations: 0 / 298.1 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.288e-05/0.009663, allocations: 23.98 kB / 298.1 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.069e-05/0.009684, allocations: 19.89 kB / 298.1 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.009687, allocations: 0 / 298.1 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.009693, allocations: 0 / 298.1 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.009696, allocations: 4.031 kB / 298.1 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.009698, allocations: 4 kB / 298.1 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001268/0.009825, allocations: 160.3 kB / 298.3 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.009842, allocations: 4 kB / 298.3 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.271e-05/0.009905, allocations: 4 kB / 298.3 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.536e-05/0.00993, allocations: 3.984 kB / 298.3 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.009938, allocations: 4 kB / 298.3 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.454e-05/0.01, allocations: 52.14 kB / 298.3 MB, free: 476 kB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01, allocations: 0 / 298.3 MB, free: 476 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002336/0.01024, allocations: 23.94 kB / 298.4 MB, free: 452 kB / 282.7 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.002043/0.01228, allocations: 0.628 MB / 299 MB, free: 168 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001015/0.01238, allocations: 32.78 kB / 299 MB, free: 132 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/0.01239, allocations: 15.88 kB / 299 MB, free: 116 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.048e-05/0.01244, allocations: 20.84 kB / 299.1 MB, free: 92 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003126/0.01275, allocations: 91.38 kB / 299.1 MB, free: 15.99 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004797/0.01323, allocations: 223.6 kB / 299.4 MB, free: 15.74 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.056e-05/0.01327, allocations: 71.33 kB / 299.4 MB, free: 15.65 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.631e-05/0.01331, allocations: 13.28 kB / 299.4 MB, free: 15.64 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.986e-05/0.01337, allocations: 67.36 kB / 299.5 MB, free: 15.57 MB / 298.7 MB Notification: Performance of SimCode: time 1.032e-06/0.01337, allocations: 0 / 299.5 MB, free: 15.57 MB / 298.7 MB Notification: Performance of Templates: time 0.003439/0.01681, allocations: 1.504 MB / 301 MB, free: 14.08 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0093252016231418]