Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.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.00093/0.00093, 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.001542/0.001542, allocations: 173.4 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.9515/0.9515, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.2403/0.2403, allocations: 32.81 MB / 294.6 MB, free: 1.238 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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 323.2 MB, free: 9.688 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.922e-05/2.055e-05, allocations: 7.016 kB / 323.2 MB, free: 9.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test29): time 0.002081/0.002102, allocations: 1.707 MB / 325 MB, free: 7.965 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007119/0.002814, allocations: 0.5723 MB / 325.5 MB, free: 7.387 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.089e-05/0.002865, allocations: 8 kB / 325.5 MB, free: 7.379 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002319/0.003097, allocations: 71.7 kB / 325.6 MB, free: 7.309 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002208/0.003318, allocations: 107.5 kB / 325.7 MB, free: 7.203 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002587/0.003576, allocations: 179.5 kB / 325.9 MB, free: 7.027 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001313/0.003708, allocations: 95.69 kB / 326 MB, free: 6.934 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.818e-05/0.003786, allocations: 16.84 kB / 326 MB, free: 6.914 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.481e-05/0.003851, allocations: 47.83 kB / 326 MB, free: 6.867 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.652e-05/0.003927, allocations: 43.94 kB / 326.1 MB, free: 6.824 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.00394, allocations: 4 kB / 326.1 MB, free: 6.82 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.261e-05/0.004013, allocations: 55.86 kB / 326.1 MB, free: 6.766 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.112e-05/0.004064, allocations: 23.91 kB / 326.2 MB, free: 6.742 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.255e-05/0.004087, allocations: 19.92 kB / 326.2 MB, free: 6.723 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001453/0.004232, allocations: 115.5 kB / 326.3 MB, free: 6.609 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.004234, allocations: 0 / 326.3 MB, free: 6.609 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.004234, allocations: 0 / 326.3 MB, free: 6.609 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.926e-06/0.004237, allocations: 0 / 326.3 MB, free: 6.609 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000321/0.004558, allocations: 325.4 kB / 326.6 MB, free: 6.27 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.922e-05/0.004587, allocations: 8.031 kB / 326.6 MB, free: 6.262 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.711e-05/0.004614, allocations: 8.922 kB / 326.6 MB, free: 6.254 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.004736, allocations: 154 kB / 326.8 MB, free: 6.078 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.364e-06/0.004744, allocations: 384 / 326.8 MB, free: 6.078 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.01e-05/0.004764, allocations: 4.375 kB / 326.8 MB, free: 6.074 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.917e-05/0.004853, allocations: 66.94 kB / 326.9 MB, free: 6 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.004861, allocations: 192 / 326.9 MB, free: 6 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.863e-06/0.004868, allocations: 4.125 kB / 326.9 MB, free: 5.996 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.004872, allocations: 0 / 326.9 MB, free: 5.996 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.515e-05/0.004898, allocations: 11.98 kB / 326.9 MB, free: 5.984 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002146/0.005112, allocations: 194.9 kB / 327.1 MB, free: 5.777 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.005236, allocations: 38.55 kB / 327.1 MB, free: 5.73 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.629e-05/0.005252, allocations: 12.84 kB / 327.1 MB, free: 5.715 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.005266, allocations: 3.984 kB / 327.1 MB, free: 5.711 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.005287, allocations: 50.66 kB / 327.2 MB, free: 5.652 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.005289, allocations: 0 / 327.2 MB, free: 5.652 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004411/0.00573, allocations: 202.2 kB / 327.4 MB, free: 5.449 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/0.005756, allocations: 51.41 kB / 327.4 MB, free: 5.387 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.731e-05/0.005853, allocations: 185 kB / 327.6 MB, free: 5.191 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.119e-05/0.005864, allocations: 33.7 kB / 327.6 MB, free: 5.152 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.802e-05/0.005892, allocations: 92.08 kB / 327.7 MB, free: 5.059 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.66e-05/0.005919, allocations: 43.67 kB / 327.8 MB, free: 5.016 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.128e-05/0.00595, allocations: 25.7 kB / 327.8 MB, free: 4.984 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.259e-05/0.006023, allocations: 330.7 kB / 328.1 MB, free: 4.652 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.651e-05/0.006039, allocations: 8 kB / 328.1 MB, free: 4.645 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.582e-05/0.006055, allocations: 11.94 kB / 328.1 MB, free: 4.633 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.424e-05/0.006099, allocations: 44.58 kB / 328.2 MB, free: 4.586 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.0061, allocations: 0.5625 kB / 328.2 MB, free: 4.586 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 7.291e-05/0.006173, allocations: 67.53 kB / 328.2 MB, free: 4.516 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.588e-06/0.006183, allocations: 4 kB / 328.2 MB, free: 4.512 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.006187, allocations: 0 / 328.2 MB, free: 4.512 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.006198, allocations: 7.984 kB / 328.2 MB, free: 4.504 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.925e-05/0.006257, allocations: 31.92 kB / 328.3 MB, free: 4.473 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.545e-06/0.00626, allocations: 0 / 328.3 MB, free: 4.473 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.275e-05/0.006283, allocations: 8 kB / 328.3 MB, free: 4.465 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-06/0.006288, allocations: 0 / 328.3 MB, free: 4.465 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 (11): * Single equations (assignments): 11 * 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.724e-05/0.006345, allocations: 124.6 kB / 328.4 MB, free: 4.332 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.75e-05/0.006363, allocations: 7.984 kB / 328.4 MB, free: 4.324 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001168/0.00648, allocations: 91.06 kB / 328.5 MB, free: 4.227 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.006482, allocations: 3.984 kB / 328.5 MB, free: 4.223 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.006484, allocations: 7.938 kB / 328.5 MB, free: 4.215 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.006486, allocations: 0 / 328.5 MB, free: 4.215 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002358/0.006722, allocations: 280.3 kB / 328.8 MB, free: 3.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.006724, allocations: 4 kB / 328.8 MB, free: 3.906 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.445e-05/0.006769, allocations: 23.92 kB / 328.8 MB, free: 3.883 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.006771, allocations: 0 / 328.8 MB, free: 3.883 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.006777, allocations: 8 kB / 328.8 MB, free: 3.875 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.006778, allocations: 0 / 328.8 MB, free: 3.875 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.006779, allocations: 0 / 328.8 MB, free: 3.875 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.253e-05/0.006872, allocations: 185.2 kB / 329 MB, free: 3.672 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.578e-06/0.006882, allocations: 11.91 kB / 329 MB, free: 3.66 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.135e-05/0.006893, allocations: 4 kB / 329 MB, free: 3.656 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.804e-05/0.006931, allocations: 11.92 kB / 329 MB, free: 3.645 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.779e-05/0.006959, allocations: 11.92 kB / 329 MB, free: 3.633 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.00697, allocations: 8 kB / 329.1 MB, free: 3.625 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.939e-05/0.007009, allocations: 56.64 kB / 329.1 MB, free: 3.566 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007009, allocations: 0 / 329.1 MB, free: 3.566 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001406/0.00715, allocations: 31.88 kB / 329.1 MB, free: 3.535 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001381/0.008531, allocations: 0.573 MB / 329.7 MB, free: 3.262 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001053/0.008636, allocations: 52.75 kB / 329.8 MB, free: 3.207 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.008641, allocations: 8 kB / 329.8 MB, free: 3.199 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.009e-05/0.008681, allocations: 32.78 kB / 329.8 MB, free: 3.164 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002106/0.008892, allocations: 31.2 kB / 329.8 MB, free: 3.137 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000391/0.009283, allocations: 269.4 kB / 330.1 MB, free: 2.84 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.219e-05/0.009335, allocations: 75.34 kB / 330.2 MB, free: 2.746 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.089e-05/0.009386, allocations: 20.61 kB / 330.2 MB, free: 2.727 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.017e-05/0.009456, allocations: 67.36 kB / 330.3 MB, free: 2.66 MB / 298.7 MB Notification: Performance of SimCode: time 4.01e-07/0.009456, allocations: 0 / 330.3 MB, free: 2.66 MB / 298.7 MB Notification: Performance of Templates: time 0.003723/0.01318, allocations: 1.744 MB / 332 MB, free: 0.9297 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test29/Test29.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.933365921024233]