Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.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.000982/0.000982, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001103/0.001103, allocations: 170.3 kB / 24.82 MB, free: 9.266 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.9583/0.9583, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.2265/0.2265, allocations: 32.81 MB / 294.6 MB, free: 1.25 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.CombiTable1Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.915e-06/2.915e-06, allocations: 4 kB / 376.5 MB, free: 4.406 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.603e-05/2.894e-05, allocations: 6.25 kB / 376.5 MB, free: 4.398 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.002215/0.002244, allocations: 1.634 MB / 378.1 MB, free: 2.75 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001216/0.00346, allocations: 1.274 MB / 379.4 MB, free: 1.469 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.812e-05/0.003518, allocations: 3.938 kB / 379.4 MB, free: 1.465 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002005/0.003719, allocations: 27.78 kB / 379.4 MB, free: 1.438 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002767/0.003996, allocations: 87.55 kB / 379.5 MB, free: 1.352 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002365/0.004232, allocations: 111.7 kB / 379.6 MB, free: 1.242 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001163/0.004348, allocations: 71.72 kB / 379.7 MB, free: 1.172 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.289e-05/0.004431, allocations: 15.92 kB / 379.7 MB, free: 1.156 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.872e-05/0.00449, allocations: 31.91 kB / 379.7 MB, free: 1.125 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.753e-05/0.004588, allocations: 31.14 kB / 379.8 MB, free: 1.098 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.378e-05/0.004601, allocations: 4 kB / 379.8 MB, free: 1.094 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.004735, allocations: 91.81 kB / 379.9 MB, free: 1.004 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.555e-05/0.00477, allocations: 15.92 kB / 379.9 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.372e-05/0.004794, allocations: 19.92 kB / 379.9 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004191/0.005213, allocations: 123.6 kB / 380 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.005215, allocations: 4 kB / 380 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.005216, allocations: 0 / 380 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.136e-06/0.005219, allocations: 0 / 380 MB, free: 0.8438 MB / 346.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.0003498/0.005568, allocations: 439.9 kB / 380.5 MB, free: 388 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.005602, allocations: 12.03 kB / 380.5 MB, free: 376 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.018e-05/0.005633, allocations: 8.891 kB / 380.5 MB, free: 368 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.005745, allocations: 132.5 kB / 380.6 MB, free: 208 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.656e-06/0.005754, allocations: 4.375 kB / 380.6 MB, free: 204 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.467e-05/0.005769, allocations: 384 / 380.6 MB, free: 204 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.005877, allocations: 104 kB / 380.7 MB, free: 76 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.005885, allocations: 4.188 kB / 380.7 MB, free: 72 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.174e-06/0.005892, allocations: 4.125 kB / 380.7 MB, free: 68 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.005897, allocations: 0 / 380.7 MB, free: 68 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.049e-05/0.005917, allocations: 11.92 kB / 380.7 MB, free: 56 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002361/0.006153, allocations: 260.4 kB / 381 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001147/0.006268, allocations: 43.03 kB / 381 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.515e-05/0.006283, allocations: 11.69 kB / 381 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.841e-05/0.006302, allocations: 0 / 381 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/0.006324, allocations: 45.27 kB / 381.1 MB, free: 15.65 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.006325, allocations: 0 / 381.1 MB, free: 15.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002527/0.006577, allocations: 89.59 kB / 381.2 MB, free: 15.55 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.1e-05/0.006608, allocations: 85.09 kB / 381.3 MB, free: 15.45 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.569e-05/0.006704, allocations: 191.8 kB / 381.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.927e-06/0.006713, allocations: 25.7 kB / 381.5 MB, free: 15.22 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.972e-05/0.006763, allocations: 146.8 kB / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.799e-05/0.006781, allocations: 19.89 kB / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-05/0.006812, allocations: 19.38 kB / 381.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.006929, allocations: 0.4962 MB / 382.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.371e-05/0.006943, allocations: 4 kB / 382.1 MB, free: 14.51 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.754e-05/0.006981, allocations: 53.05 kB / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.172e-05/0.007012, allocations: 27.66 kB / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.007014, allocations: 4 kB / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.113e-05/0.007095, allocations: 61.52 kB / 382.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.007108, allocations: 4 kB / 382.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.007112, allocations: 0 / 382.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.007127, allocations: 4 kB / 382.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.229e-05/0.007169, allocations: 8 kB / 382.3 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.715e-06/0.007172, allocations: 0 / 382.3 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.266e-05/0.007195, allocations: 8.234 kB / 382.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-06/0.007199, allocations: 0 / 382.3 MB, free: 14.32 MB / 362.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.815e-05/0.007267, allocations: 160.6 kB / 382.5 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.296e-05/0.00729, allocations: 19.89 kB / 382.5 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001122/0.007403, allocations: 70.02 kB / 382.6 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.007404, allocations: 0 / 382.6 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.007406, allocations: 0 / 382.6 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.007409, allocations: 0 / 382.6 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002223/0.007631, allocations: 298 kB / 382.9 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.007633, allocations: 0 / 382.9 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.202e-05/0.007665, allocations: 11.98 kB / 382.9 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.007667, allocations: 3.938 kB / 382.9 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.819e-06/0.007671, allocations: 8 kB / 382.9 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.007672, allocations: 0 / 382.9 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.007673, allocations: 0 / 382.9 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.541e-05/0.007769, allocations: 207.8 kB / 383.1 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.105e-06/0.007777, allocations: 3.953 kB / 383.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.107e-05/0.007788, allocations: 7.984 kB / 383.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.375e-05/0.007822, allocations: 0 / 383.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.976e-05/0.007841, allocations: 4 kB / 383.1 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.007845, allocations: 0 / 383.1 MB, free: 13.47 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.383e-05/0.007898, allocations: 153.2 kB / 383.2 MB, free: 13.32 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007899, allocations: 0 / 383.2 MB, free: 13.32 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001928/0.008091, allocations: 43.86 kB / 383.3 MB, free: 13.28 MB / 362.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.0009945/0.009086, allocations: 482 kB / 383.8 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.314e-05/0.009169, allocations: 31.67 kB / 383.8 MB, free: 12.95 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.009171, allocations: 4 kB / 383.8 MB, free: 12.94 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.212e-05/0.009193, allocations: 23.66 kB / 383.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000202/0.009395, allocations: 19.92 kB / 383.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002856/0.009681, allocations: 173.8 kB / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.153e-05/0.009722, allocations: 63.34 kB / 384.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.167e-05/0.009764, allocations: 7.984 kB / 384.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.997e-05/0.009834, allocations: 90.17 kB / 384.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of SimCode: time 1.182e-06/0.009835, allocations: 4 kB / 384.2 MB, free: 12.51 MB / 362.7 MB Notification: Performance of Templates: time 0.004257/0.01409, allocations: 2.035 MB / 386.2 MB, free: 10.49 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.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.877882924862206]