Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.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.0008705/0.0008705, 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.0009288/0.0009288, allocations: 170.6 kB / 24.91 MB, free: 8.723 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.939/0.939, allocations: 177.1 MB / 205.3 MB, free: 5.094 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.235/0.235, allocations: 34.25 MB / 296.1 MB, free: 0.6797 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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 325.3 MB, free: 7.695 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.322e-05/1.453e-05, allocations: 3.953 kB / 325.3 MB, free: 7.691 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.001931/0.001946, allocations: 1.638 MB / 326.9 MB, free: 6.043 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007087/0.002655, allocations: 0.5413 MB / 327.4 MB, free: 5.496 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.998e-05/0.002704, allocations: 4 kB / 327.4 MB, free: 5.492 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001803/0.002885, allocations: 23.84 kB / 327.5 MB, free: 5.469 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002643/0.003149, allocations: 79.56 kB / 327.5 MB, free: 5.391 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002377/0.003387, allocations: 115.6 kB / 327.7 MB, free: 5.277 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001154/0.003502, allocations: 76.33 kB / 327.7 MB, free: 5.203 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.465e-05/0.003567, allocations: 4 kB / 327.7 MB, free: 5.199 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.909e-05/0.003616, allocations: 31.91 kB / 327.8 MB, free: 5.168 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.401e-05/0.00366, allocations: 19.91 kB / 327.8 MB, free: 5.148 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.134e-05/0.003671, allocations: 4 kB / 327.8 MB, free: 5.145 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.389e-05/0.003725, allocations: 28 kB / 327.8 MB, free: 5.117 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.456e-05/0.00376, allocations: 11.92 kB / 327.8 MB, free: 5.105 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.131e-05/0.003781, allocations: 11.98 kB / 327.8 MB, free: 5.094 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001141/0.003895, allocations: 79.69 kB / 327.9 MB, free: 5.016 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.563e-06/0.003897, allocations: 0 / 327.9 MB, free: 5.016 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.003897, allocations: 0 / 327.9 MB, free: 5.016 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.685e-06/0.0039, allocations: 0 / 327.9 MB, free: 5.016 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.0002839/0.004184, allocations: 285.8 kB / 328.2 MB, free: 4.715 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.908e-05/0.004213, allocations: 8.031 kB / 328.2 MB, free: 4.707 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.63e-05/0.004239, allocations: 8.938 kB / 328.2 MB, free: 4.699 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.004362, allocations: 137.7 kB / 328.3 MB, free: 4.539 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.004372, allocations: 4.375 kB / 328.3 MB, free: 4.535 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.634e-05/0.004389, allocations: 384 / 328.3 MB, free: 4.535 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.23e-05/0.004471, allocations: 62.88 kB / 328.4 MB, free: 4.465 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.00448, allocations: 4.188 kB / 328.4 MB, free: 4.461 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.264e-06/0.004487, allocations: 4.125 kB / 328.4 MB, free: 4.457 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.004493, allocations: 0 / 328.4 MB, free: 4.457 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.85e-05/0.004511, allocations: 4 kB / 328.4 MB, free: 4.453 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001857/0.004697, allocations: 163.1 kB / 328.6 MB, free: 4.277 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001123/0.004809, allocations: 37.33 kB / 328.6 MB, free: 4.23 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.191e-05/0.004821, allocations: 4.859 kB / 328.6 MB, free: 4.223 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/0.004836, allocations: 8.062 kB / 328.6 MB, free: 4.215 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.885e-05/0.004854, allocations: 30.56 kB / 328.7 MB, free: 4.176 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 7.71e-07/0.004855, allocations: 0 / 328.7 MB, free: 4.176 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002469/0.005102, allocations: 98.14 kB / 328.8 MB, free: 4.074 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.618e-05/0.005128, allocations: 51.41 kB / 328.8 MB, free: 4.012 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.834e-05/0.005207, allocations: 144.3 kB / 328.9 MB, free: 3.855 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.478e-06/0.005216, allocations: 29.7 kB / 329 MB, free: 3.82 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.698e-05/0.005243, allocations: 88.12 kB / 329.1 MB, free: 3.73 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.879e-05/0.005262, allocations: 23.78 kB / 329.1 MB, free: 3.707 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.554e-05/0.005287, allocations: 17.72 kB / 329.1 MB, free: 3.684 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.937e-05/0.005357, allocations: 318.8 kB / 329.4 MB, free: 3.363 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.679e-06/0.005366, allocations: 4 kB / 329.4 MB, free: 3.359 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.969e-06/0.005376, allocations: 11.92 kB / 329.4 MB, free: 3.348 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.564e-05/0.005402, allocations: 23.62 kB / 329.5 MB, free: 3.32 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.005403, allocations: 0 / 329.5 MB, free: 3.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.003e-05/0.005453, allocations: 53.61 kB / 329.5 MB, free: 3.262 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.676e-06/0.005462, allocations: 4 kB / 329.5 MB, free: 3.258 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.695e-06/0.005464, allocations: 0 / 329.5 MB, free: 3.258 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.005475, allocations: 4 kB / 329.5 MB, free: 3.254 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.691e-05/0.005512, allocations: 8.25 kB / 329.5 MB, free: 3.246 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.346e-06/0.005516, allocations: 0 / 329.5 MB, free: 3.246 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.696e-05/0.005543, allocations: 11.98 kB / 329.5 MB, free: 3.234 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.005548, allocations: 4 kB / 329.5 MB, free: 3.23 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.917e-05/0.005597, allocations: 112.7 kB / 329.6 MB, free: 3.109 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.737e-05/0.005615, allocations: 11.88 kB / 329.7 MB, free: 3.098 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.52e-05/0.00569, allocations: 58.14 kB / 329.7 MB, free: 3.035 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.005692, allocations: 4 kB / 329.7 MB, free: 3.031 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.005693, allocations: 0 / 329.7 MB, free: 3.031 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.005695, allocations: 0 / 329.7 MB, free: 3.031 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001671/0.005862, allocations: 210.8 kB / 329.9 MB, free: 2.801 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.005864, allocations: 3.938 kB / 329.9 MB, free: 2.797 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.593e-05/0.00589, allocations: 11.98 kB / 329.9 MB, free: 2.785 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.005891, allocations: 0 / 329.9 MB, free: 2.785 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.827e-06/0.005895, allocations: 4 kB / 329.9 MB, free: 2.781 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.005897, allocations: 4 kB / 329.9 MB, free: 2.777 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.005898, allocations: 0 / 329.9 MB, free: 2.777 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.107e-05/0.005969, allocations: 139.5 kB / 330.1 MB, free: 2.625 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.147e-05/0.00598, allocations: 11.89 kB / 330.1 MB, free: 2.613 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.293e-05/0.005993, allocations: 7.984 kB / 330.1 MB, free: 2.605 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.841e-05/0.006022, allocations: 0 / 330.1 MB, free: 2.605 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.83e-05/0.00604, allocations: 4 kB / 330.1 MB, free: 2.602 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.006044, allocations: 7.938 kB / 330.1 MB, free: 2.594 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.969e-05/0.006073, allocations: 38.22 kB / 330.2 MB, free: 2.555 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006074, allocations: 0 / 330.2 MB, free: 2.555 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001267/0.0062, allocations: 16 kB / 330.2 MB, free: 2.539 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.0009732/0.007173, allocations: 0.5052 MB / 330.7 MB, free: 2.297 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.079e-05/0.007234, allocations: 20.86 kB / 330.7 MB, free: 2.273 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.007237, allocations: 0 / 330.7 MB, free: 2.273 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.9e-05/0.007256, allocations: 24.78 kB / 330.7 MB, free: 2.246 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001374/0.007393, allocations: 27.38 kB / 330.7 MB, free: 2.223 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002354/0.007628, allocations: 167.2 kB / 330.9 MB, free: 2.027 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.252e-05/0.007661, allocations: 63.34 kB / 331 MB, free: 1.945 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.657e-05/0.007687, allocations: 11.97 kB / 331 MB, free: 1.934 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.521e-05/0.007733, allocations: 63.38 kB / 331 MB, free: 1.871 MB / 298.7 MB Notification: Performance of SimCode: time 5.41e-07/0.007733, allocations: 0 / 331 MB, free: 1.871 MB / 298.7 MB Notification: Performance of Templates: time 0.002503/0.01024, allocations: 1.248 MB / 332.3 MB, free: 0.6328 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.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.811709832865745]