Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.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.001263/0.001263, allocations: 80.92 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.001255/0.001255, allocations: 173.3 kB / 24.91 MB, free: 9.191 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.9205/0.9205, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.2267/0.2267, allocations: 32.8 MB / 294.6 MB, free: 1.18 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.Test33,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.Test33") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test33,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.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 323.2 MB, free: 9.688 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.588e-05/1.718e-05, allocations: 5.438 kB / 323.2 MB, free: 9.684 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test33): time 0.001978/0.001995, allocations: 1.623 MB / 324.9 MB, free: 8.047 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001172/0.003167, allocations: 1.297 MB / 326.2 MB, free: 6.742 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.254e-05/0.00322, allocations: 4 kB / 326.2 MB, free: 6.738 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002244/0.003444, allocations: 23.8 kB / 326.2 MB, free: 6.715 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002926/0.003737, allocations: 91.48 kB / 326.3 MB, free: 6.625 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002302/0.003967, allocations: 107.6 kB / 326.4 MB, free: 6.52 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001277/0.004095, allocations: 75.75 kB / 326.5 MB, free: 6.445 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.254e-05/0.004167, allocations: 4 kB / 326.5 MB, free: 6.441 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.698e-05/0.004224, allocations: 35.91 kB / 326.5 MB, free: 6.406 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.207e-05/0.004306, allocations: 23.91 kB / 326.5 MB, free: 6.383 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.203e-05/0.004318, allocations: 8 kB / 326.5 MB, free: 6.375 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001227/0.004441, allocations: 87.88 kB / 326.6 MB, free: 6.289 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.853e-05/0.004479, allocations: 19.92 kB / 326.6 MB, free: 6.27 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.26e-05/0.004502, allocations: 15.92 kB / 326.7 MB, free: 6.254 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001681/0.00467, allocations: 135.5 kB / 326.8 MB, free: 6.121 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.004672, allocations: 0 / 326.8 MB, free: 6.121 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.004672, allocations: 0 / 326.8 MB, free: 6.121 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.326e-06/0.004676, allocations: 0 / 326.8 MB, free: 6.121 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.0003021/0.004978, allocations: 301.4 kB / 327.1 MB, free: 5.805 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.699e-05/0.005005, allocations: 8.031 kB / 327.1 MB, free: 5.797 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.618e-05/0.005031, allocations: 4.938 kB / 327.1 MB, free: 5.793 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.005152, allocations: 133.7 kB / 327.2 MB, free: 5.637 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.005164, allocations: 8.297 kB / 327.2 MB, free: 5.629 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.753e-05/0.005181, allocations: 4.375 kB / 327.2 MB, free: 5.625 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.931e-05/0.00528, allocations: 94.38 kB / 327.3 MB, free: 5.512 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.005289, allocations: 192 / 327.3 MB, free: 5.512 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.933e-06/0.005296, allocations: 4.125 kB / 327.3 MB, free: 5.508 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.0053, allocations: 4 kB / 327.3 MB, free: 5.504 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.745e-05/0.005318, allocations: 7.984 kB / 327.3 MB, free: 5.496 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001879/0.005505, allocations: 171.7 kB / 327.5 MB, free: 5.312 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001142/0.00562, allocations: 33.39 kB / 327.5 MB, free: 5.27 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.482e-05/0.005635, allocations: 12.86 kB / 327.6 MB, free: 5.254 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.347e-05/0.005648, allocations: 0 / 327.6 MB, free: 5.254 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.005667, allocations: 38.64 kB / 327.6 MB, free: 5.207 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 8.91e-07/0.005668, allocations: 0 / 327.6 MB, free: 5.207 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002215/0.005889, allocations: 93.39 kB / 327.7 MB, free: 5.109 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.267e-05/0.005922, allocations: 81.11 kB / 327.8 MB, free: 5.012 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.117e-05/0.006013, allocations: 142.7 kB / 327.9 MB, free: 4.859 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.916e-06/0.006022, allocations: 25.7 kB / 327.9 MB, free: 4.828 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.696e-05/0.006049, allocations: 92.08 kB / 328 MB, free: 4.734 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.76e-05/0.006066, allocations: 27.81 kB / 328 MB, free: 4.707 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.347e-05/0.00609, allocations: 13.72 kB / 328.1 MB, free: 4.688 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.165e-05/0.006162, allocations: 322.8 kB / 328.4 MB, free: 4.363 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.105e-05/0.006173, allocations: 4 kB / 328.4 MB, free: 4.359 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.425e-05/0.006197, allocations: 43.36 kB / 328.4 MB, free: 4.305 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.863e-05/0.006225, allocations: 27.67 kB / 328.5 MB, free: 4.273 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.006226, allocations: 0 / 328.5 MB, free: 4.273 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.887e-05/0.006275, allocations: 45.62 kB / 328.5 MB, free: 4.223 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.707e-06/0.006284, allocations: 8 kB / 328.5 MB, free: 4.215 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.006287, allocations: 0 / 328.5 MB, free: 4.215 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.006298, allocations: 0 / 328.5 MB, free: 4.215 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.322e-05/0.006331, allocations: 16.27 kB / 328.5 MB, free: 4.199 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.356e-06/0.006335, allocations: 3.938 kB / 328.5 MB, free: 4.195 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.893e-05/0.006354, allocations: 8 kB / 328.5 MB, free: 4.188 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.518e-06/0.006358, allocations: 3.984 kB / 328.5 MB, free: 4.184 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 4.767e-05/0.006406, allocations: 116.7 kB / 328.6 MB, free: 4.059 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.719e-05/0.006423, allocations: 11.92 kB / 328.7 MB, free: 4.047 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.521e-05/0.006498, allocations: 58.14 kB / 328.7 MB, free: 3.984 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.0065, allocations: 0 / 328.7 MB, free: 3.984 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.006501, allocations: 0 / 328.7 MB, free: 3.984 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.006504, allocations: 0 / 328.7 MB, free: 3.984 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001656/0.00667, allocations: 218.8 kB / 328.9 MB, free: 3.746 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.006671, allocations: 3.938 kB / 328.9 MB, free: 3.742 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.614e-05/0.006697, allocations: 11.98 kB / 328.9 MB, free: 3.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.006699, allocations: 0 / 328.9 MB, free: 3.73 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.547e-06/0.006702, allocations: 0 / 328.9 MB, free: 3.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.62e-07/0.006703, allocations: 0 / 328.9 MB, free: 3.73 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.006704, allocations: 0 / 328.9 MB, free: 3.73 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.242e-05/0.006766, allocations: 143.5 kB / 329.1 MB, free: 3.574 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.063e-05/0.006777, allocations: 19.88 kB / 329.1 MB, free: 3.555 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.458e-06/0.006786, allocations: 3.938 kB / 329.1 MB, free: 3.551 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.088e-05/0.006817, allocations: 8 kB / 329.1 MB, free: 3.543 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.908e-05/0.006836, allocations: 4 kB / 329.1 MB, free: 3.539 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.006839, allocations: 4 kB / 329.1 MB, free: 3.535 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.004e-05/0.00687, allocations: 35.64 kB / 329.2 MB, free: 3.496 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00687, allocations: 0 / 329.2 MB, free: 3.496 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001578/0.007027, allocations: 35.88 kB / 329.2 MB, free: 3.461 MB / 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 (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.001223/0.00825, allocations: 0.6234 MB / 329.8 MB, free: 3.156 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.632e-05/0.008317, allocations: 20.84 kB / 329.8 MB, free: 3.129 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.00832, allocations: 4 kB / 329.8 MB, free: 3.125 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.708e-05/0.008337, allocations: 20.78 kB / 329.9 MB, free: 3.102 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001285/0.008466, allocations: 27.81 kB / 329.9 MB, free: 3.074 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002288/0.008695, allocations: 166.5 kB / 330.1 MB, free: 2.883 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.065e-05/0.008725, allocations: 59.34 kB / 330.1 MB, free: 2.805 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.1e-05/0.008756, allocations: 8 kB / 330.1 MB, free: 2.797 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.622e-05/0.008813, allocations: 67.34 kB / 330.2 MB, free: 2.73 MB / 298.7 MB Notification: Performance of SimCode: time 5.11e-07/0.008813, allocations: 0 / 330.2 MB, free: 2.73 MB / 298.7 MB Notification: Performance of Templates: time 0.00296/0.01177, allocations: 2.019 MB / 332.2 MB, free: 0.7305 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test33/Test33.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.9159204456955194]