Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34.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.001245/0.001245, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001448/0.001448, allocations: 172.6 kB / 24.92 MB, free: 8.727 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 1.028/1.028, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.2569/0.2569, allocations: 34.27 MB / 296.1 MB, free: 0.7266 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.CombiTable1Dv.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 325.3 MB, free: 7.625 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.513e-05/2.663e-05, allocations: 7.156 kB / 325.3 MB, free: 7.617 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.002425/0.002452, allocations: 1.712 MB / 327 MB, free: 5.895 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007597/0.003212, allocations: 0.5413 MB / 327.6 MB, free: 5.348 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.576e-05/0.003267, allocations: 3.938 kB / 327.6 MB, free: 5.344 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002612/0.003529, allocations: 75.7 kB / 327.6 MB, free: 5.27 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002494/0.003778, allocations: 103.5 kB / 327.7 MB, free: 5.168 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002503/0.004028, allocations: 103.7 kB / 327.8 MB, free: 5.066 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001491/0.004177, allocations: 99.67 kB / 327.9 MB, free: 4.969 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.359e-05/0.004261, allocations: 12 kB / 328 MB, free: 4.957 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.884e-05/0.00433, allocations: 47.88 kB / 328 MB, free: 4.91 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.089e-05/0.004421, allocations: 43.89 kB / 328 MB, free: 4.867 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.506e-05/0.004436, allocations: 7.984 kB / 328 MB, free: 4.859 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.745e-05/0.004523, allocations: 43.92 kB / 328.1 MB, free: 4.816 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.573e-05/0.004569, allocations: 23.92 kB / 328.1 MB, free: 4.793 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.573e-05/0.004595, allocations: 11.94 kB / 328.1 MB, free: 4.781 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001627/0.004757, allocations: 99.53 kB / 328.2 MB, free: 4.684 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.00476, allocations: 4 kB / 328.2 MB, free: 4.68 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.004761, allocations: 0 / 328.2 MB, free: 4.68 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.004765, allocations: 0 / 328.2 MB, free: 4.68 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.0003392/0.005104, allocations: 309.6 kB / 328.5 MB, free: 4.355 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.005137, allocations: 8.031 kB / 328.5 MB, free: 4.348 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.07e-05/0.005168, allocations: 12.92 kB / 328.5 MB, free: 4.336 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.005312, allocations: 147.4 kB / 328.7 MB, free: 4.164 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.115e-06/0.005321, allocations: 384 / 328.7 MB, free: 4.164 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/0.00534, allocations: 4.375 kB / 328.7 MB, free: 4.16 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.962e-05/0.00544, allocations: 62.88 kB / 328.8 MB, free: 4.09 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.005449, allocations: 192 / 328.8 MB, free: 4.09 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.575e-06/0.005456, allocations: 8.125 kB / 328.8 MB, free: 4.082 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.005461, allocations: 3.938 kB / 328.8 MB, free: 4.078 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.019e-05/0.005481, allocations: 8 kB / 328.8 MB, free: 4.07 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003137/0.005795, allocations: 171.6 kB / 328.9 MB, free: 3.887 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.624e-05/0.005861, allocations: 41.39 kB / 329 MB, free: 3.836 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.867e-05/0.00588, allocations: 8.859 kB / 329 MB, free: 3.824 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.005904, allocations: 4 kB / 329 MB, free: 3.82 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.005932, allocations: 34.5 kB / 329 MB, free: 3.777 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.443e-06/0.005933, allocations: 0 / 329 MB, free: 3.777 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005155/0.006449, allocations: 146 kB / 329.2 MB, free: 3.629 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/0.00648, allocations: 55.39 kB / 329.2 MB, free: 3.562 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.006589, allocations: 181.5 kB / 329.4 MB, free: 3.371 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.956e-06/0.006598, allocations: 25.7 kB / 329.4 MB, free: 3.34 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.313e-05/0.006631, allocations: 100.1 kB / 329.5 MB, free: 3.238 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.347e-05/0.006654, allocations: 27.73 kB / 329.6 MB, free: 3.211 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-05/0.006684, allocations: 29.64 kB / 329.6 MB, free: 3.176 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.071e-05/0.006755, allocations: 318.8 kB / 329.9 MB, free: 2.855 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.462e-05/0.00677, allocations: 11.98 kB / 329.9 MB, free: 2.844 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.191e-05/0.006782, allocations: 8 kB / 329.9 MB, free: 2.836 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.632e-05/0.006818, allocations: 31.89 kB / 329.9 MB, free: 2.801 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.006819, allocations: 0 / 329.9 MB, free: 2.801 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.583e-05/0.006885, allocations: 61.61 kB / 330 MB, free: 2.734 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.006897, allocations: 4 kB / 330 MB, free: 2.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.006901, allocations: 0 / 330 MB, free: 2.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.798e-06/0.006911, allocations: 0 / 330 MB, free: 2.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.545e-05/0.006977, allocations: 23.92 kB / 330 MB, free: 2.707 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.735e-06/0.006979, allocations: 0 / 330 MB, free: 2.707 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.266e-05/0.007002, allocations: 8 kB / 330 MB, free: 2.699 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.007007, allocations: 4 kB / 330 MB, free: 2.695 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 (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 5.832e-05/0.007066, allocations: 116.7 kB / 330.2 MB, free: 2.57 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.11e-05/0.007087, allocations: 15.91 kB / 330.2 MB, free: 2.555 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001281/0.007215, allocations: 79.11 kB / 330.3 MB, free: 2.469 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.007218, allocations: 3.938 kB / 330.3 MB, free: 2.465 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.007221, allocations: 0 / 330.3 MB, free: 2.465 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.007225, allocations: 3.938 kB / 330.3 MB, free: 2.461 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002583/0.007483, allocations: 247.5 kB / 330.5 MB, free: 2.191 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.007486, allocations: 4 kB / 330.5 MB, free: 2.188 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.964e-05/0.007526, allocations: 16.02 kB / 330.5 MB, free: 2.172 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.007529, allocations: 4 kB / 330.5 MB, free: 2.168 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.67e-06/0.007534, allocations: 0 / 330.5 MB, free: 2.168 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.007537, allocations: 0 / 330.5 MB, free: 2.168 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.007539, allocations: 4 kB / 330.5 MB, free: 2.164 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.862e-05/0.007638, allocations: 168.2 kB / 330.7 MB, free: 1.98 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.979e-06/0.007648, allocations: 11.91 kB / 330.7 MB, free: 1.969 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.00766, allocations: 3.984 kB / 330.7 MB, free: 1.965 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.475e-05/0.007695, allocations: 8 kB / 330.7 MB, free: 1.957 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.626e-05/0.007721, allocations: 3.984 kB / 330.7 MB, free: 1.953 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.007726, allocations: 4 kB / 330.7 MB, free: 1.949 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.39e-05/0.00777, allocations: 52.16 kB / 330.8 MB, free: 1.895 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00777, allocations: 0 / 330.8 MB, free: 1.895 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001442/0.007914, allocations: 23.98 kB / 330.8 MB, free: 1.871 MB / 298.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.001234/0.009148, allocations: 0.5697 MB / 331.4 MB, free: 1.605 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.431e-05/0.009242, allocations: 44.7 kB / 331.4 MB, free: 1.559 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.009246, allocations: 4 kB / 331.4 MB, free: 1.555 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.208e-05/0.009268, allocations: 16.86 kB / 331.4 MB, free: 1.535 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001766/0.009445, allocations: 25.52 kB / 331.5 MB, free: 1.516 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003293/0.009774, allocations: 235.6 kB / 331.7 MB, free: 1.254 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.126e-05/0.009816, allocations: 63.34 kB / 331.8 MB, free: 1.172 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.081e-05/0.009856, allocations: 21.08 kB / 331.8 MB, free: 1.152 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.049e-05/0.009917, allocations: 63.36 kB / 331.8 MB, free: 1.086 MB / 298.7 MB Notification: Performance of SimCode: time 6.81e-07/0.009918, allocations: 3.938 kB / 331.8 MB, free: 1.082 MB / 298.7 MB Notification: Performance of Templates: time 0.003207/0.01312, allocations: 1.511 MB / 333.3 MB, free: 15.58 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test34/Test34.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.930311537347734]