Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.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.001109/0.001109, allocations: 80.8 kB / 21.49 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.001296/0.001296, allocations: 168.7 kB / 24.91 MB, free: 9.199 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.9626/0.9626, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.2389/0.2389, allocations: 32.8 MB / 294.6 MB, free: 1.242 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.CombiTable1Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 323.2 MB, free: 9.711 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.258e-05/1.376e-05, allocations: 5.578 kB / 323.2 MB, free: 9.707 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.001848/0.001862, allocations: 1.655 MB / 324.9 MB, free: 8.039 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006433/0.002505, allocations: 0.5336 MB / 325.4 MB, free: 7.5 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.568e-05/0.002551, allocations: 0 / 325.4 MB, free: 7.5 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002474/0.002798, allocations: 135.4 kB / 325.6 MB, free: 7.367 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002357/0.003034, allocations: 123.5 kB / 325.7 MB, free: 7.246 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001846/0.003219, allocations: 95.62 kB / 325.8 MB, free: 7.152 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001351/0.003354, allocations: 99.72 kB / 325.9 MB, free: 7.055 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.827e-05/0.003422, allocations: 12 kB / 325.9 MB, free: 7.043 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.391e-05/0.003486, allocations: 55.86 kB / 325.9 MB, free: 6.988 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.184e-05/0.003578, allocations: 79.84 kB / 326 MB, free: 6.91 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.156e-05/0.003589, allocations: 0 / 326 MB, free: 6.91 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.8e-05/0.003657, allocations: 47.92 kB / 326.1 MB, free: 6.863 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.941e-05/0.003697, allocations: 27.84 kB / 326.1 MB, free: 6.836 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.13e-05/0.003718, allocations: 16.56 kB / 326.1 MB, free: 6.82 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001314/0.003849, allocations: 103.5 kB / 326.2 MB, free: 6.719 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.003851, allocations: 0 / 326.2 MB, free: 6.719 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.003852, allocations: 0 / 326.2 MB, free: 6.719 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.835e-06/0.003854, allocations: 0 / 326.2 MB, free: 6.719 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.0002936/0.004148, allocations: 345.2 kB / 326.5 MB, free: 6.359 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.731e-05/0.004175, allocations: 12.03 kB / 326.6 MB, free: 6.348 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.631e-05/0.004202, allocations: 16.92 kB / 326.6 MB, free: 6.332 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.004324, allocations: 149.6 kB / 326.7 MB, free: 6.16 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.593e-06/0.00433, allocations: 384 / 326.7 MB, free: 6.16 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.716e-05/0.004347, allocations: 4.375 kB / 326.7 MB, free: 6.156 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.59e-05/0.004423, allocations: 62.88 kB / 326.8 MB, free: 6.086 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.004431, allocations: 192 / 326.8 MB, free: 6.086 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.832e-06/0.004438, allocations: 4.125 kB / 326.8 MB, free: 6.082 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.004442, allocations: 0 / 326.8 MB, free: 6.082 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.866e-05/0.004461, allocations: 15.92 kB / 326.8 MB, free: 6.066 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001842/0.004645, allocations: 179 kB / 327 MB, free: 5.875 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.179e-05/0.004687, allocations: 30.52 kB / 327 MB, free: 5.836 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.425e-05/0.004701, allocations: 16.94 kB / 327 MB, free: 5.816 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.312e-05/0.004714, allocations: 4 kB / 327 MB, free: 5.812 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.917e-05/0.004734, allocations: 34.5 kB / 327.1 MB, free: 5.77 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 6.31e-07/0.004734, allocations: 0 / 327.1 MB, free: 5.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003478/0.005082, allocations: 145.5 kB / 327.2 MB, free: 5.621 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.55e-05/0.005108, allocations: 51.41 kB / 327.3 MB, free: 5.559 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.005224, allocations: 209.2 kB / 327.5 MB, free: 5.336 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.518e-06/0.005233, allocations: 29.7 kB / 327.5 MB, free: 5.301 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.621e-05/0.005269, allocations: 104 kB / 327.6 MB, free: 5.195 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.091e-05/0.00529, allocations: 31.73 kB / 327.6 MB, free: 5.164 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.634e-05/0.005317, allocations: 21.7 kB / 327.6 MB, free: 5.137 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.259e-05/0.005389, allocations: 330.8 kB / 328 MB, free: 4.805 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.048e-05/0.0054, allocations: 7.938 kB / 328 MB, free: 4.797 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.025e-05/0.00541, allocations: 8 kB / 328 MB, free: 4.789 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.006e-05/0.00544, allocations: 24.84 kB / 328 MB, free: 4.762 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.42e-07/0.005441, allocations: 0 / 328 MB, free: 4.762 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 5.238e-05/0.005493, allocations: 61.59 kB / 328.1 MB, free: 4.695 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.005503, allocations: 8 kB / 328.1 MB, free: 4.688 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.005507, allocations: 4 kB / 328.1 MB, free: 4.684 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.00552, allocations: 0 / 328.1 MB, free: 4.684 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.28e-05/0.005573, allocations: 19.92 kB / 328.1 MB, free: 4.664 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.144e-06/0.005575, allocations: 0 / 328.1 MB, free: 4.664 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.762e-05/0.005593, allocations: 8 kB / 328.1 MB, free: 4.656 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.449e-06/0.005597, allocations: 0 / 328.1 MB, free: 4.656 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.119e-05/0.005648, allocations: 112.7 kB / 328.2 MB, free: 4.535 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.684e-05/0.005665, allocations: 15.94 kB / 328.2 MB, free: 4.52 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.616e-05/0.005751, allocations: 79.42 kB / 328.3 MB, free: 4.434 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.005753, allocations: 0 / 328.3 MB, free: 4.434 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-06/0.005754, allocations: 7.938 kB / 328.3 MB, free: 4.426 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.005756, allocations: 0 / 328.3 MB, free: 4.426 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002034/0.005959, allocations: 263.4 kB / 328.6 MB, free: 4.141 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.005961, allocations: 4 kB / 328.6 MB, free: 4.137 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.902e-05/0.00599, allocations: 12 kB / 328.6 MB, free: 4.125 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.005992, allocations: 0 / 328.6 MB, free: 4.125 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.005997, allocations: 4 kB / 328.6 MB, free: 4.121 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.005998, allocations: 0 / 328.6 MB, free: 4.121 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.005999, allocations: 3.984 kB / 328.6 MB, free: 4.117 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.63e-05/0.006076, allocations: 164.2 kB / 328.8 MB, free: 3.938 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.201e-05/0.006088, allocations: 23.94 kB / 328.8 MB, free: 3.914 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.518e-06/0.006097, allocations: 0 / 328.8 MB, free: 3.914 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.201e-05/0.006129, allocations: 4 kB / 328.8 MB, free: 3.91 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.816e-05/0.006147, allocations: 3.984 kB / 328.8 MB, free: 3.906 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.006151, allocations: 4 kB / 328.8 MB, free: 3.902 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.893e-05/0.00621, allocations: 72.61 kB / 328.9 MB, free: 3.828 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.00621, allocations: 0 / 328.9 MB, free: 3.828 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001325/0.006342, allocations: 23.98 kB / 328.9 MB, free: 3.805 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.001159/0.007501, allocations: 0.5629 MB / 329.5 MB, free: 3.543 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.883e-05/0.00757, allocations: 40.7 kB / 329.5 MB, free: 3.5 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.007574, allocations: 4 kB / 329.5 MB, free: 3.496 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.989e-05/0.007594, allocations: 16.86 kB / 329.5 MB, free: 3.477 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001378/0.007732, allocations: 20.36 kB / 329.5 MB, free: 3.457 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002858/0.008017, allocations: 264.9 kB / 329.8 MB, free: 3.168 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.731e-05/0.008055, allocations: 71.33 kB / 329.9 MB, free: 3.078 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.123e-05/0.008086, allocations: 12.72 kB / 329.9 MB, free: 3.062 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.329e-05/0.008139, allocations: 63.38 kB / 329.9 MB, free: 3 MB / 298.7 MB Notification: Performance of SimCode: time 5.31e-07/0.00814, allocations: 0 / 329.9 MB, free: 3 MB / 298.7 MB Notification: Performance of Templates: time 0.002754/0.01089, allocations: 1.511 MB / 331.4 MB, free: 1.508 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.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.962612842209637]