Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.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.000991/0.000991, allocations: 80.8 kB / 21.5 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.001644/0.001644, allocations: 171.9 kB / 24.91 MB, free: 8.773 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.9714/0.9714, allocations: 177.1 MB / 205.3 MB, free: 5.113 MB / 186.7 MB " [Timeout remaining time 179] 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.2841/0.2841, allocations: 32.81 MB / 294.6 MB, free: 1.207 MB / 266.7 MB " [Timeout remaining time 180] 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.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 323.3 MB, free: 9.68 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.613e-05/1.745e-05, allocations: 2.969 kB / 323.3 MB, free: 9.676 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.002149/0.002166, allocations: 1.732 MB / 325 MB, free: 7.934 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007254/0.002892, allocations: 0.5723 MB / 325.6 MB, free: 7.355 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.091e-05/0.002943, allocations: 4 kB / 325.6 MB, free: 7.352 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004183/0.003361, allocations: 451 kB / 326 MB, free: 6.91 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002908/0.003652, allocations: 295.1 kB / 326.3 MB, free: 6.621 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002567/0.003908, allocations: 171.6 kB / 326.5 MB, free: 6.453 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001614/0.00407, allocations: 175.6 kB / 326.7 MB, free: 6.281 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.331e-05/0.004153, allocations: 20.59 kB / 326.7 MB, free: 6.262 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.866e-05/0.004252, allocations: 115.8 kB / 326.8 MB, free: 6.148 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001589/0.004411, allocations: 199.6 kB / 327 MB, free: 5.953 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.004425, allocations: 4 kB / 327 MB, free: 5.949 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.579e-05/0.004491, allocations: 39.92 kB / 327 MB, free: 5.91 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.515e-05/0.004566, allocations: 79.72 kB / 327.1 MB, free: 5.832 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.323e-05/0.004599, allocations: 39.73 kB / 327.1 MB, free: 5.793 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000184/0.004783, allocations: 203.1 kB / 327.3 MB, free: 5.594 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.412e-06/0.004784, allocations: 0 / 327.3 MB, free: 5.594 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.004786, allocations: 0 / 327.3 MB, free: 5.594 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.00479, allocations: 0 / 327.3 MB, free: 5.594 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004029/0.005193, allocations: 0.5461 MB / 327.9 MB, free: 5.023 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.648e-05/0.005219, allocations: 12.03 kB / 327.9 MB, free: 5.012 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.433e-05/0.005253, allocations: 24.91 kB / 327.9 MB, free: 4.988 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/0.005413, allocations: 246 kB / 328.2 MB, free: 4.723 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.443e-06/0.005419, allocations: 8.375 kB / 328.2 MB, free: 4.715 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.492e-05/0.005434, allocations: 8.312 kB / 328.2 MB, free: 4.707 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.011e-05/0.005514, allocations: 62.92 kB / 328.2 MB, free: 4.637 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.005522, allocations: 192 / 328.2 MB, free: 4.637 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.003e-06/0.005529, allocations: 4.125 kB / 328.3 MB, free: 4.633 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.005533, allocations: 4 kB / 328.3 MB, free: 4.629 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.961e-05/0.005553, allocations: 4 kB / 328.3 MB, free: 4.625 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002177/0.005771, allocations: 199 kB / 328.5 MB, free: 4.414 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001091/0.00588, allocations: 37.39 kB / 328.5 MB, free: 4.367 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.44e-05/0.005894, allocations: 12.86 kB / 328.5 MB, free: 4.352 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.21e-05/0.005906, allocations: 0 / 328.5 MB, free: 4.352 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.615e-05/0.005923, allocations: 38.44 kB / 328.5 MB, free: 4.305 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 5.61e-07/0.005923, allocations: 0 / 328.5 MB, free: 4.305 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002449/0.006168, allocations: 109.5 kB / 328.6 MB, free: 4.191 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.225e-05/0.00619, allocations: 51.41 kB / 328.7 MB, free: 4.129 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002877/0.006478, allocations: 0.5245 MB / 329.2 MB, free: 3.59 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.947e-06/0.006487, allocations: 25.7 kB / 329.2 MB, free: 3.559 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.361e-05/0.00654, allocations: 149.2 kB / 329.4 MB, free: 3.406 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.935e-05/0.00656, allocations: 19.84 kB / 329.4 MB, free: 3.387 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.34e-05/0.006583, allocations: 13.72 kB / 329.4 MB, free: 3.367 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.582e-05/0.006669, allocations: 362.7 kB / 329.8 MB, free: 3.004 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.998e-06/0.006679, allocations: 4 kB / 329.8 MB, free: 3 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.075e-05/0.00669, allocations: 7.938 kB / 329.8 MB, free: 2.992 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.881e-05/0.006719, allocations: 23.67 kB / 329.8 MB, free: 2.961 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.006719, allocations: 0 / 329.8 MB, free: 2.961 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.17e-05/0.006781, allocations: 69.59 kB / 329.9 MB, free: 2.887 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.488e-06/0.006791, allocations: 4 kB / 329.9 MB, free: 2.883 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.006794, allocations: 0 / 329.9 MB, free: 2.883 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.506e-06/0.006803, allocations: 0 / 329.9 MB, free: 2.883 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.477e-05/0.006837, allocations: 8 kB / 329.9 MB, free: 2.875 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.013e-06/0.006839, allocations: 8 kB / 329.9 MB, free: 2.867 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.208e-05/0.006861, allocations: 3.984 kB / 329.9 MB, free: 2.863 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.827e-06/0.006865, allocations: 0 / 329.9 MB, free: 2.863 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 (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 6.1e-05/0.006926, allocations: 120.6 kB / 330 MB, free: 2.734 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.156e-05/0.006958, allocations: 27.91 kB / 330.1 MB, free: 2.707 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.415e-05/0.007052, allocations: 85.48 kB / 330.1 MB, free: 2.617 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.007053, allocations: 288 / 330.1 MB, free: 2.617 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.92e-07/0.007054, allocations: 0 / 330.1 MB, free: 2.617 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.007058, allocations: 3.984 kB / 330.1 MB, free: 2.613 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002035/0.007262, allocations: 278.6 kB / 330.4 MB, free: 2.316 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.007263, allocations: 4 kB / 330.4 MB, free: 2.312 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.608e-05/0.007289, allocations: 12 kB / 330.4 MB, free: 2.301 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.00729, allocations: 0 / 330.4 MB, free: 2.301 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.62e-06/0.007296, allocations: 7.984 kB / 330.4 MB, free: 2.293 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.007296, allocations: 0 / 330.4 MB, free: 2.293 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.007297, allocations: 0 / 330.4 MB, free: 2.293 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.303e-05/0.00737, allocations: 159.4 kB / 330.6 MB, free: 2.121 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.139e-05/0.007391, allocations: 39.64 kB / 330.6 MB, free: 2.082 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.223e-05/0.007404, allocations: 0 / 330.6 MB, free: 2.082 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.739e-05/0.007441, allocations: 8 kB / 330.6 MB, free: 2.074 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.836e-05/0.007459, allocations: 7.984 kB / 330.6 MB, free: 2.066 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.007463, allocations: 4 kB / 330.6 MB, free: 2.062 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001623/0.007625, allocations: 283.2 kB / 330.9 MB, free: 1.785 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007625, allocations: 0 / 330.9 MB, free: 1.785 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001304/0.007756, allocations: 23.95 kB / 330.9 MB, free: 1.762 MB / 298.7 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.001017/0.008773, allocations: 0.4965 MB / 331.4 MB, free: 1.531 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 5.701e-05/0.00883, allocations: 20.84 kB / 331.5 MB, free: 1.508 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.008834, allocations: 4 kB / 331.5 MB, free: 1.504 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.614e-05/0.00885, allocations: 24.92 kB / 331.5 MB, free: 1.477 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001722/0.009022, allocations: 33.08 kB / 331.5 MB, free: 1.449 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005153/0.009538, allocations: 0.5869 MB / 332.1 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.003e-05/0.009608, allocations: 119.2 kB / 332.2 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.917e-05/0.009637, allocations: 11.98 kB / 332.2 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.495e-05/0.009682, allocations: 59.36 kB / 332.3 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of SimCode: time 7.21e-07/0.009683, allocations: 0 / 332.3 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of Templates: time 0.00333/0.01301, allocations: 1.466 MB / 333.8 MB, free: 15.16 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.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.8976000319235027]