Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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.00097/0.00097, allocations: 80.8 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.001108/0.001108, allocations: 167.3 kB / 24.91 MB, free: 9.109 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.9455/0.9455, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.2424/0.2424, allocations: 34.26 MB / 296.1 MB, free: 0.7344 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.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 325.3 MB, free: 7.68 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.382e-05/2.525e-05, allocations: 2.312 kB / 325.3 MB, free: 7.676 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.002314/0.002339, allocations: 1.697 MB / 327 MB, free: 5.969 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007525/0.003091, allocations: 0.5646 MB / 327.5 MB, free: 5.398 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.076e-05/0.003152, allocations: 7.938 kB / 327.5 MB, free: 5.391 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005566/0.003709, allocations: 459 kB / 328 MB, free: 4.941 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004408/0.004149, allocations: 295.2 kB / 328.3 MB, free: 4.652 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003456/0.004495, allocations: 167.5 kB / 328.4 MB, free: 4.488 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001961/0.004691, allocations: 175.6 kB / 328.6 MB, free: 4.316 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.649e-05/0.004778, allocations: 11.98 kB / 328.6 MB, free: 4.305 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.004893, allocations: 127.7 kB / 328.7 MB, free: 4.18 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001627/0.005055, allocations: 195.7 kB / 328.9 MB, free: 3.988 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.00507, allocations: 0 / 328.9 MB, free: 3.988 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.638e-05/0.005136, allocations: 35.92 kB / 329 MB, free: 3.953 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.18e-05/0.005218, allocations: 91.64 kB / 329.1 MB, free: 3.863 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.702e-05/0.005255, allocations: 40.23 kB / 329.1 MB, free: 3.824 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001954/0.005451, allocations: 199.2 kB / 329.3 MB, free: 3.629 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.005453, allocations: 4 kB / 329.3 MB, free: 3.625 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.005454, allocations: 0 / 329.3 MB, free: 3.625 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.005458, allocations: 0 / 329.3 MB, free: 3.625 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.0004472/0.005905, allocations: 0.5462 MB / 329.8 MB, free: 3.055 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.005939, allocations: 12.03 kB / 329.9 MB, free: 3.043 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.659e-05/0.005976, allocations: 20.91 kB / 329.9 MB, free: 3.023 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001905/0.006166, allocations: 250 kB / 330.1 MB, free: 2.754 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.006177, allocations: 4.359 kB / 330.1 MB, free: 2.75 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.036e-05/0.006198, allocations: 4.375 kB / 330.1 MB, free: 2.746 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001048/0.006302, allocations: 62.88 kB / 330.2 MB, free: 2.676 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.006311, allocations: 4.188 kB / 330.2 MB, free: 2.672 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.006319, allocations: 4.125 kB / 330.2 MB, free: 2.668 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.006326, allocations: 0 / 330.2 MB, free: 2.668 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.051e-05/0.006346, allocations: 8 kB / 330.2 MB, free: 2.66 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002581/0.006604, allocations: 195.1 kB / 330.4 MB, free: 2.453 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/0.006727, allocations: 37.33 kB / 330.4 MB, free: 2.406 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.333e-05/0.006741, allocations: 8.859 kB / 330.4 MB, free: 2.395 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/0.006757, allocations: 4 kB / 330.4 MB, free: 2.391 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.006778, allocations: 34.5 kB / 330.5 MB, free: 2.348 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.006779, allocations: 0 / 330.5 MB, free: 2.348 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002585/0.007037, allocations: 117.6 kB / 330.6 MB, free: 2.227 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.578e-05/0.007063, allocations: 51.41 kB / 330.6 MB, free: 2.164 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002889/0.007352, allocations: 0.5244 MB / 331.2 MB, free: 1.625 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.004e-05/0.007362, allocations: 25.7 kB / 331.2 MB, free: 1.594 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.429e-05/0.007416, allocations: 145.3 kB / 331.3 MB, free: 1.445 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.761e-05/0.007434, allocations: 19.83 kB / 331.4 MB, free: 1.426 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.509e-05/0.007459, allocations: 17.7 kB / 331.4 MB, free: 1.402 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.627e-05/0.007545, allocations: 358.7 kB / 331.7 MB, free: 1.043 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.078e-05/0.007556, allocations: 4 kB / 331.7 MB, free: 1.039 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.248e-06/0.007565, allocations: 4 kB / 331.7 MB, free: 1.035 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.098e-05/0.007596, allocations: 27.61 kB / 331.8 MB, free: 1 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.007597, allocations: 0 / 331.8 MB, free: 1 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.402e-05/0.007661, allocations: 73.59 kB / 331.8 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.799e-06/0.007671, allocations: 7.938 kB / 331.8 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.007675, allocations: 256 / 331.8 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.007685, allocations: 0 / 331.8 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.088e-05/0.007726, allocations: 15.98 kB / 331.8 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.345e-06/0.007729, allocations: 0 / 331.8 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.231e-05/0.007751, allocations: 4 kB / 331.9 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.127e-06/0.007755, allocations: 0 / 331.9 MB, free: 0.8945 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.813e-05/0.007823, allocations: 124.6 kB / 332 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.007847, allocations: 23.91 kB / 332 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001085/0.007955, allocations: 81.23 kB / 332.1 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.007957, allocations: 4 kB / 332.1 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.007958, allocations: 0 / 332.1 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.00796, allocations: 0 / 332.1 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002176/0.008178, allocations: 274.6 kB / 332.4 MB, free: 364 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.008179, allocations: 0 / 332.4 MB, free: 364 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.773e-05/0.008207, allocations: 12 kB / 332.4 MB, free: 352 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.00821, allocations: 3.984 kB / 332.4 MB, free: 348 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.878e-06/0.008213, allocations: 4 kB / 332.4 MB, free: 344 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.008215, allocations: 0 / 332.4 MB, free: 344 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.008216, allocations: 0 / 332.4 MB, free: 344 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.697e-05/0.008293, allocations: 163.4 kB / 332.5 MB, free: 164 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.23e-05/0.008316, allocations: 35.72 kB / 332.6 MB, free: 128 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.008328, allocations: 0 / 332.6 MB, free: 128 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.477e-05/0.008363, allocations: 4 kB / 332.6 MB, free: 124 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.991e-05/0.008383, allocations: 12.2 kB / 332.6 MB, free: 112 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-06/0.008386, allocations: 0 / 332.6 MB, free: 112 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001767/0.008562, allocations: 283.2 kB / 332.9 MB, free: 15.83 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.008562, allocations: 0 / 332.9 MB, free: 15.83 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00013/0.008692, allocations: 23.95 kB / 332.9 MB, free: 15.81 MB / 314.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.001122/0.009814, allocations: 0.511 MB / 333.4 MB, free: 15.56 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 6.532e-05/0.00988, allocations: 24.78 kB / 333.4 MB, free: 15.54 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.009885, allocations: 4 kB / 333.4 MB, free: 15.53 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.666e-05/0.009902, allocations: 16.8 kB / 333.4 MB, free: 15.51 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001834/0.01008, allocations: 43.03 kB / 333.5 MB, free: 15.48 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005585/0.01064, allocations: 0.5776 MB / 334.1 MB, free: 14.87 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.973e-05/0.01071, allocations: 127.2 kB / 334.2 MB, free: 14.72 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.776e-05/0.01074, allocations: 4 kB / 334.2 MB, free: 14.72 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.89e-05/0.01079, allocations: 63.36 kB / 334.2 MB, free: 14.66 MB / 314.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01079, allocations: 0 / 334.2 MB, free: 14.66 MB / 314.7 MB Notification: Performance of Templates: time 0.004145/0.01494, allocations: 1.47 MB / 335.7 MB, free: 13.2 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.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.838693886063993]