Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.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.0008803/0.0008803, 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.0009165/0.0009165, allocations: 174.3 kB / 24.92 MB, free: 8.762 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.952/0.952, allocations: 177.1 MB / 205.3 MB, free: 5.074 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.2689/0.2689, allocations: 34.26 MB / 296.1 MB, free: 0.6016 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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 325.3 MB, free: 7.66 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.106e-05/2.262e-05, allocations: 3.188 kB / 325.3 MB, free: 7.656 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.002058/0.002081, allocations: 1.643 MB / 326.9 MB, free: 6 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000769/0.00285, allocations: 0.5568 MB / 327.5 MB, free: 5.438 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.258e-05/0.002902, allocations: 7.938 kB / 327.5 MB, free: 5.43 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004531/0.003355, allocations: 451.1 kB / 327.9 MB, free: 4.988 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003701/0.003726, allocations: 299.1 kB / 328.2 MB, free: 4.695 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003341/0.00406, allocations: 171.6 kB / 328.4 MB, free: 4.527 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002043/0.004264, allocations: 167.6 kB / 328.5 MB, free: 4.363 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.262e-05/0.004347, allocations: 15.97 kB / 328.6 MB, free: 4.348 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.00445, allocations: 115.8 kB / 328.7 MB, free: 4.234 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001522/0.004602, allocations: 195.7 kB / 328.9 MB, free: 4.043 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.004616, allocations: 0 / 328.9 MB, free: 4.043 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.03e-05/0.004676, allocations: 31.92 kB / 328.9 MB, free: 4.012 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.396e-05/0.00475, allocations: 83.7 kB / 329 MB, free: 3.93 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.706e-05/0.004787, allocations: 36.25 kB / 329 MB, free: 3.895 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001914/0.004978, allocations: 191.2 kB / 329.2 MB, free: 3.707 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.00498, allocations: 0 / 329.2 MB, free: 3.707 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.004981, allocations: 0 / 329.2 MB, free: 3.707 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.004985, allocations: 3.938 kB / 329.2 MB, free: 3.703 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000442/0.005427, allocations: 0.5347 MB / 329.7 MB, free: 3.145 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.005462, allocations: 12.03 kB / 329.7 MB, free: 3.133 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.904e-05/0.005501, allocations: 24.91 kB / 329.8 MB, free: 3.109 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001779/0.005679, allocations: 246 kB / 330 MB, free: 2.844 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.346e-06/0.005687, allocations: 384 / 330 MB, free: 2.844 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.005698, allocations: 4.375 kB / 330 MB, free: 2.84 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.231e-05/0.00578, allocations: 50.95 kB / 330.1 MB, free: 2.781 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.005787, allocations: 4.125 kB / 330.1 MB, free: 2.777 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.214e-06/0.005795, allocations: 8.125 kB / 330.1 MB, free: 2.77 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.005801, allocations: 0 / 330.1 MB, free: 2.77 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.516e-05/0.005816, allocations: 4 kB / 330.1 MB, free: 2.766 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002399/0.006056, allocations: 191.1 kB / 330.3 MB, free: 2.562 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.751e-05/0.006093, allocations: 22.56 kB / 330.3 MB, free: 2.531 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.318e-05/0.006107, allocations: 12.86 kB / 330.3 MB, free: 2.516 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.311e-05/0.00612, allocations: 0 / 330.3 MB, free: 2.516 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.006139, allocations: 34.5 kB / 330.3 MB, free: 2.473 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 5.81e-07/0.00614, allocations: 0 / 330.3 MB, free: 2.473 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.000103/0.006243, allocations: 61.72 kB / 330.4 MB, free: 2.406 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.755e-05/0.00627, allocations: 55.41 kB / 330.4 MB, free: 2.34 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002944/0.006565, allocations: 0.5205 MB / 331 MB, free: 1.805 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.068e-06/0.006574, allocations: 25.83 kB / 331 MB, free: 1.773 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.885e-05/0.006633, allocations: 157.2 kB / 331.1 MB, free: 1.613 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.453e-05/0.006647, allocations: 3.953 kB / 331.2 MB, free: 1.609 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.227e-05/0.006669, allocations: 17.7 kB / 331.2 MB, free: 1.586 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.447e-05/0.006754, allocations: 358.6 kB / 331.5 MB, free: 1.227 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.683e-06/0.006761, allocations: 0 / 331.5 MB, free: 1.227 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.194e-06/0.006768, allocations: 7.938 kB / 331.5 MB, free: 1.219 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.127e-05/0.006789, allocations: 11.69 kB / 331.5 MB, free: 1.203 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.006791, allocations: 0 / 331.5 MB, free: 1.203 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.9e-05/0.00685, allocations: 53.67 kB / 331.6 MB, free: 1.145 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.006861, allocations: 12.03 kB / 331.6 MB, free: 1.133 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.006865, allocations: 0 / 331.6 MB, free: 1.133 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.006879, allocations: 3.984 kB / 331.6 MB, free: 1.129 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.744e-05/0.006926, allocations: 8 kB / 331.6 MB, free: 1.121 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.856e-06/0.006929, allocations: 3.938 kB / 331.6 MB, free: 1.117 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.918e-05/0.006948, allocations: 4 kB / 331.6 MB, free: 1.113 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.006953, allocations: 0 / 331.6 MB, free: 1.113 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 (2): * Single equations (assignments): 2 * 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.695e-05/0.00702, allocations: 112.7 kB / 331.7 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.428e-05/0.007044, allocations: 27.91 kB / 331.8 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.21e-05/0.007136, allocations: 76.73 kB / 331.8 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.007139, allocations: 3.984 kB / 331.8 MB, free: 0.8789 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.007142, allocations: 0 / 331.8 MB, free: 0.8789 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.007144, allocations: 0 / 331.8 MB, free: 0.8789 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001147/0.007259, allocations: 133.8 kB / 332 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.00726, allocations: 0 / 332 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.314e-05/0.007273, allocations: 7.984 kB / 332 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.02e-07/0.007274, allocations: 0 / 332 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.026e-06/0.007277, allocations: 0 / 332 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.007278, allocations: 3.938 kB / 332 MB, free: 0.7188 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.007279, allocations: 0 / 332 MB, free: 0.7188 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.919e-05/0.007348, allocations: 155.5 kB / 332.1 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.384e-05/0.007372, allocations: 43.7 kB / 332.2 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.218e-05/0.007384, allocations: 0 / 332.2 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.234e-05/0.007417, allocations: 3.938 kB / 332.2 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.157e-06/0.007426, allocations: 4 kB / 332.2 MB, free: 0.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-06/0.007427, allocations: 0 / 332.2 MB, free: 0.5 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001577/0.007585, allocations: 283.2 kB / 332.5 MB, free: 228 kB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007585, allocations: 0 / 332.5 MB, free: 228 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001253/0.00771, allocations: 19.94 kB / 332.5 MB, free: 208 kB / 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 (2): * Single equations (assignments): 2 * 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.0008717/0.008582, allocations: 445.4 kB / 332.9 MB, free: 16 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 5.327e-05/0.008635, allocations: 20.78 kB / 332.9 MB, free: 15.97 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.008641, allocations: 4 kB / 332.9 MB, free: 15.97 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.205e-06/0.008649, allocations: 12.92 kB / 332.9 MB, free: 15.95 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000166/0.008815, allocations: 23.83 kB / 333 MB, free: 15.93 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00051/0.009325, allocations: 0.5619 MB / 333.5 MB, free: 15.34 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.924e-05/0.009394, allocations: 119.2 kB / 333.7 MB, free: 15.21 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.319e-05/0.009417, allocations: 7.984 kB / 333.7 MB, free: 15.2 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.376e-05/0.009461, allocations: 63.36 kB / 333.7 MB, free: 15.14 MB / 314.7 MB Notification: Performance of SimCode: time 3.81e-07/0.009461, allocations: 0 / 333.7 MB, free: 15.14 MB / 314.7 MB Notification: Performance of Templates: time 0.003118/0.01258, allocations: 1.228 MB / 334.9 MB, free: 13.91 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.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.853303072974086]