Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.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.0009606/0.0009606, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.0009917/0.0009917, allocations: 169.2 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.9567/0.9567, 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.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.2536/0.2536, allocations: 34.26 MB / 296.1 MB, free: 0.7031 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.CombiTable1Ds.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.CombiTable1Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 325.2 MB, free: 7.684 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.696e-05/1.854e-05, allocations: 3.078 kB / 325.3 MB, free: 7.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.002409/0.002428, allocations: 1.646 MB / 326.9 MB, free: 6.023 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008091/0.003237, allocations: 0.5374 MB / 327.4 MB, free: 5.48 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.529e-05/0.003282, allocations: 0 / 327.4 MB, free: 5.48 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001704/0.003452, allocations: 19.8 kB / 327.5 MB, free: 5.461 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002337/0.003686, allocations: 83.55 kB / 327.5 MB, free: 5.379 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001951/0.003881, allocations: 87.64 kB / 327.6 MB, free: 5.293 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001177/0.003999, allocations: 67.83 kB / 327.7 MB, free: 5.227 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.73e-05/0.004066, allocations: 15.94 kB / 327.7 MB, free: 5.211 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.567e-05/0.004122, allocations: 31.91 kB / 327.7 MB, free: 5.18 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.689e-05/0.004169, allocations: 15.97 kB / 327.7 MB, free: 5.164 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.096e-05/0.00418, allocations: 0 / 327.7 MB, free: 5.164 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.359e-05/0.004243, allocations: 35.88 kB / 327.8 MB, free: 5.129 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.628e-05/0.004279, allocations: 15.92 kB / 327.8 MB, free: 5.113 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.017e-05/0.0043, allocations: 11.94 kB / 327.8 MB, free: 5.102 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001307/0.00443, allocations: 71.73 kB / 327.9 MB, free: 5.031 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.953e-06/0.004432, allocations: 0 / 327.9 MB, free: 5.031 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.42e-07/0.004433, allocations: 0 / 327.9 MB, free: 5.031 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.785e-06/0.004436, allocations: 0 / 327.9 MB, free: 5.031 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.0002871/0.004723, allocations: 282.4 kB / 328.2 MB, free: 4.734 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.004754, allocations: 8.031 kB / 328.2 MB, free: 4.727 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.454e-05/0.004778, allocations: 4.938 kB / 328.2 MB, free: 4.723 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.004906, allocations: 145.5 kB / 328.3 MB, free: 4.555 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.554e-06/0.004914, allocations: 384 / 328.3 MB, free: 4.555 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.636e-05/0.00493, allocations: 4.375 kB / 328.3 MB, free: 4.551 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.819e-05/0.005008, allocations: 58.94 kB / 328.4 MB, free: 4.484 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.005016, allocations: 192 / 328.4 MB, free: 4.484 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.692e-06/0.005023, allocations: 4.125 kB / 328.4 MB, free: 4.48 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.005027, allocations: 0 / 328.4 MB, free: 4.48 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.983e-05/0.005047, allocations: 8 kB / 328.4 MB, free: 4.473 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001815/0.005229, allocations: 155.1 kB / 328.5 MB, free: 4.305 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.005348, allocations: 38.5 kB / 328.6 MB, free: 4.258 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.434e-05/0.005362, allocations: 12.92 kB / 328.6 MB, free: 4.242 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/0.005376, allocations: 3.984 kB / 328.6 MB, free: 4.238 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.937e-05/0.005396, allocations: 34.64 kB / 328.6 MB, free: 4.195 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.005396, allocations: 0 / 328.6 MB, free: 4.195 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002403/0.005637, allocations: 85.5 kB / 328.7 MB, free: 4.105 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.917e-05/0.005666, allocations: 55.39 kB / 328.8 MB, free: 4.039 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.117e-05/0.005757, allocations: 151.2 kB / 328.9 MB, free: 3.879 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.097e-06/0.005766, allocations: 25.7 kB / 328.9 MB, free: 3.848 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.902e-05/0.005795, allocations: 88.12 kB / 329 MB, free: 3.758 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.177e-05/0.005817, allocations: 27.77 kB / 329 MB, free: 3.73 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-05/0.005847, allocations: 17.72 kB / 329.1 MB, free: 3.707 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001936/0.00604, allocations: 322.8 kB / 329.4 MB, free: 3.383 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.055e-05/0.006051, allocations: 0 / 329.4 MB, free: 3.383 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.105e-05/0.006062, allocations: 4 kB / 329.4 MB, free: 3.379 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.947e-05/0.006092, allocations: 28.97 kB / 329.4 MB, free: 3.348 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.006092, allocations: 0 / 329.4 MB, free: 3.348 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.074e-05/0.006153, allocations: 49.62 kB / 329.5 MB, free: 3.293 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.006164, allocations: 12 kB / 329.5 MB, free: 3.281 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.247e-06/0.006167, allocations: 0 / 329.5 MB, free: 3.281 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.006178, allocations: 0 / 329.5 MB, free: 3.281 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.354e-05/0.006221, allocations: 11.98 kB / 329.5 MB, free: 3.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.064e-06/0.006223, allocations: 0 / 329.5 MB, free: 3.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.124e-05/0.006245, allocations: 4 kB / 329.5 MB, free: 3.266 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.006249, allocations: 0 / 329.5 MB, free: 3.266 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 5.022e-05/0.006299, allocations: 116.5 kB / 329.6 MB, free: 3.141 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.457e-05/0.006324, allocations: 11.92 kB / 329.6 MB, free: 3.129 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.527e-05/0.006409, allocations: 62.14 kB / 329.7 MB, free: 3.062 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.00641, allocations: 4 kB / 329.7 MB, free: 3.059 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.006412, allocations: 0 / 329.7 MB, free: 3.059 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-06/0.006414, allocations: 0 / 329.7 MB, free: 3.059 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001977/0.006612, allocations: 206.8 kB / 329.9 MB, free: 2.832 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.006614, allocations: 3.938 kB / 329.9 MB, free: 2.828 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.077e-05/0.006644, allocations: 11.98 kB / 329.9 MB, free: 2.816 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.006646, allocations: 0 / 329.9 MB, free: 2.816 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.877e-06/0.00665, allocations: 4 kB / 329.9 MB, free: 2.812 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.006651, allocations: 0 / 329.9 MB, free: 2.812 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.006652, allocations: 0 / 329.9 MB, free: 2.812 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.724e-05/0.006729, allocations: 151.7 kB / 330 MB, free: 2.648 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.007e-05/0.006739, allocations: 15.89 kB / 330.1 MB, free: 2.633 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.033e-05/0.006749, allocations: 0 / 330.1 MB, free: 2.633 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.56e-05/0.006795, allocations: 0 / 330.1 MB, free: 2.633 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.01e-05/0.006815, allocations: 7.984 kB / 330.1 MB, free: 2.625 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-06/0.006818, allocations: 0 / 330.1 MB, free: 2.625 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.596e-05/0.006854, allocations: 38.23 kB / 330.1 MB, free: 2.586 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006854, allocations: 0 / 330.1 MB, free: 2.586 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001946/0.007048, allocations: 15.94 kB / 330.1 MB, free: 2.57 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.001162/0.00821, allocations: 0.4982 MB / 330.6 MB, free: 2.336 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.107e-05/0.008282, allocations: 20.84 kB / 330.6 MB, free: 2.312 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.008284, allocations: 0 / 330.6 MB, free: 2.312 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.262e-05/0.008306, allocations: 20.8 kB / 330.7 MB, free: 2.289 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001407/0.008447, allocations: 31.67 kB / 330.7 MB, free: 2.262 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002235/0.008671, allocations: 163.2 kB / 330.9 MB, free: 2.07 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.997e-05/0.008701, allocations: 66.34 kB / 330.9 MB, free: 1.988 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.629e-05/0.008727, allocations: 19.91 kB / 330.9 MB, free: 1.969 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.241e-05/0.008769, allocations: 55.38 kB / 331 MB, free: 1.914 MB / 298.7 MB Notification: Performance of SimCode: time 4.01e-07/0.00877, allocations: 0 / 331 MB, free: 1.914 MB / 298.7 MB Notification: Performance of Templates: time 0.002377/0.01115, allocations: 1.232 MB / 332.2 MB, free: 0.6836 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/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.8410644978284836]