Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test28.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.001576/0.001576, allocations: 80.92 kB / 21.49 MB, free: 2.992 MB / 18.57 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.001335/0.001335, allocations: 167.9 kB / 24.91 MB, free: 9.184 MB / 18.57 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.9903/0.9903, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.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.2382/0.2382, allocations: 34.26 MB / 296.1 MB, free: 0.7305 MB / 266.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.CombiTable2Ds.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test28") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 3.938 kB / 325.3 MB, free: 7.668 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.374e-05/2.535e-05, allocations: 4.422 kB / 325.3 MB, free: 7.664 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test28): time 0.00236/0.002385, allocations: 1.718 MB / 327 MB, free: 5.934 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007583/0.003144, allocations: 0.5412 MB / 327.5 MB, free: 5.387 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.746e-05/0.003191, allocations: 3.938 kB / 327.5 MB, free: 5.383 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002076/0.003399, allocations: 63.72 kB / 327.6 MB, free: 5.32 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002973/0.003696, allocations: 103.5 kB / 327.7 MB, free: 5.219 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002644/0.00396, allocations: 123.6 kB / 327.8 MB, free: 5.098 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001385/0.004099, allocations: 95.67 kB / 327.9 MB, free: 5.004 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.707e-05/0.004176, allocations: 8.234 kB / 327.9 MB, free: 4.992 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.321e-05/0.004249, allocations: 51.88 kB / 328 MB, free: 4.941 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.012e-05/0.004329, allocations: 43.88 kB / 328 MB, free: 4.898 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.228e-05/0.004342, allocations: 4 kB / 328 MB, free: 4.895 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.506e-05/0.004427, allocations: 47.92 kB / 328.1 MB, free: 4.848 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.252e-05/0.004519, allocations: 27.91 kB / 328.1 MB, free: 4.82 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.887e-05/0.004548, allocations: 16.44 kB / 328.1 MB, free: 4.805 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001422/0.00469, allocations: 95.59 kB / 328.2 MB, free: 4.711 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.004693, allocations: 0 / 328.2 MB, free: 4.711 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.91e-07/0.004694, allocations: 0 / 328.2 MB, free: 4.711 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.567e-06/0.004697, allocations: 3.938 kB / 328.2 MB, free: 4.707 MB / 298.7 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.000323/0.00502, allocations: 317.6 kB / 328.5 MB, free: 4.375 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.147e-05/0.005052, allocations: 12.03 kB / 328.5 MB, free: 4.363 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.814e-05/0.00508, allocations: 8.922 kB / 328.5 MB, free: 4.355 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.005202, allocations: 146.2 kB / 328.7 MB, free: 4.188 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.085e-06/0.00521, allocations: 4.375 kB / 328.7 MB, free: 4.184 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.995e-05/0.00523, allocations: 4.375 kB / 328.7 MB, free: 4.18 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.398e-05/0.005324, allocations: 62.94 kB / 328.7 MB, free: 4.109 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.005333, allocations: 192 / 328.7 MB, free: 4.109 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.005342, allocations: 12.11 kB / 328.8 MB, free: 4.098 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.463e-06/0.005348, allocations: 4 kB / 328.8 MB, free: 4.094 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.507e-05/0.005373, allocations: 15.92 kB / 328.8 MB, free: 4.078 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001905/0.005564, allocations: 168.2 kB / 328.9 MB, free: 3.898 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001813/0.005745, allocations: 30.58 kB / 329 MB, free: 3.859 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.643e-05/0.005762, allocations: 21.06 kB / 329 MB, free: 3.836 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.368e-05/0.005775, allocations: 3.938 kB / 329 MB, free: 3.832 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.789e-05/0.005793, allocations: 34.5 kB / 329 MB, free: 3.789 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.005794, allocations: 0 / 329 MB, free: 3.789 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004684/0.006263, allocations: 205.8 kB / 329.2 MB, free: 3.582 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.835e-05/0.006291, allocations: 55.41 kB / 329.3 MB, free: 3.516 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.722e-05/0.006388, allocations: 170.2 kB / 329.5 MB, free: 3.336 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.006399, allocations: 29.7 kB / 329.5 MB, free: 3.301 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.936e-05/0.006428, allocations: 96.06 kB / 329.6 MB, free: 3.203 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.881e-05/0.006457, allocations: 43.61 kB / 329.6 MB, free: 3.16 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.335e-05/0.00649, allocations: 21.72 kB / 329.6 MB, free: 3.133 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.923e-05/0.00656, allocations: 330.7 kB / 330 MB, free: 2.801 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.595e-05/0.006576, allocations: 11.94 kB / 330 MB, free: 2.789 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.669e-05/0.006592, allocations: 12.75 kB / 330 MB, free: 2.777 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.097e-05/0.006633, allocations: 34.48 kB / 330 MB, free: 2.742 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.006635, allocations: 4 kB / 330 MB, free: 2.738 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 7.072e-05/0.006706, allocations: 73.61 kB / 330.1 MB, free: 2.66 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.006717, allocations: 8 kB / 330.1 MB, free: 2.652 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.006721, allocations: 0 / 330.1 MB, free: 2.652 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.006733, allocations: 4 kB / 330.1 MB, free: 2.648 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.713e-05/0.006801, allocations: 23.92 kB / 330.1 MB, free: 2.625 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.866e-06/0.006803, allocations: 0 / 330.1 MB, free: 2.625 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.279e-05/0.006826, allocations: 4 kB / 330.1 MB, free: 2.621 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.006831, allocations: 0 / 330.1 MB, free: 2.621 MB / 298.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 (11): * Single equations (assignments): 11 * 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 5.606e-05/0.006887, allocations: 124.6 kB / 330.3 MB, free: 2.488 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.841e-05/0.006905, allocations: 8 kB / 330.3 MB, free: 2.48 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001125/0.007018, allocations: 92.67 kB / 330.4 MB, free: 2.387 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.00702, allocations: 3.984 kB / 330.4 MB, free: 2.383 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/0.007021, allocations: 0 / 330.4 MB, free: 2.383 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.007024, allocations: 4 kB / 330.4 MB, free: 2.379 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002333/0.007257, allocations: 276.2 kB / 330.6 MB, free: 2.078 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.007258, allocations: 0 / 330.6 MB, free: 2.078 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.823e-05/0.007306, allocations: 31.92 kB / 330.7 MB, free: 2.047 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.007308, allocations: 3.938 kB / 330.7 MB, free: 2.043 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.121e-06/0.007315, allocations: 4 kB / 330.7 MB, free: 2.039 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.007316, allocations: 4.062 kB / 330.7 MB, free: 2.035 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.007317, allocations: 0 / 330.7 MB, free: 2.035 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002196/0.007537, allocations: 189.1 kB / 330.9 MB, free: 1.828 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.678e-06/0.007547, allocations: 7.953 kB / 330.9 MB, free: 1.82 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.027e-05/0.007557, allocations: 0 / 330.9 MB, free: 1.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.868e-05/0.007595, allocations: 4 kB / 330.9 MB, free: 1.816 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.878e-05/0.007624, allocations: 19.91 kB / 330.9 MB, free: 1.797 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.68e-06/0.00763, allocations: 4 kB / 330.9 MB, free: 1.793 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.104e-05/0.007671, allocations: 49.12 kB / 330.9 MB, free: 1.742 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007671, allocations: 0 / 330.9 MB, free: 1.742 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001506/0.007822, allocations: 31.92 kB / 331 MB, free: 1.711 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001188/0.00901, allocations: 0.5677 MB / 331.5 MB, free: 1.438 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001003/0.00911, allocations: 56.72 kB / 331.6 MB, free: 1.379 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.279e-06/0.009114, allocations: 4 kB / 331.6 MB, free: 1.375 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.043e-05/0.009145, allocations: 32.78 kB / 331.6 MB, free: 1.34 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001612/0.009306, allocations: 27.22 kB / 331.7 MB, free: 1.316 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003342/0.00964, allocations: 261.5 kB / 331.9 MB, free: 1.023 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.794e-05/0.009678, allocations: 67.34 kB / 332 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.065e-05/0.009719, allocations: 16.61 kB / 332 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.706e-05/0.009776, allocations: 67.36 kB / 332.1 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of SimCode: time 6.11e-07/0.009776, allocations: 0 / 332.1 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of Templates: time 0.003255/0.01303, allocations: 1.684 MB / 333.7 MB, free: 15.19 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test28.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test28.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test28 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test28/Test28.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9258566610515118]