Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0009924/0.0009924, allocations: 81.95 kB / 21.44 MB, free: 3.059 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.001056/0.001056, allocations: 164.7 kB / 24.84 MB, free: 9.301 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9418/0.9418, allocations: 158.6 MB / 186.7 MB, free: 2.77 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1351/0.1351, allocations: 32.38 MB / 271.5 MB, free: 14.53 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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",fileNamePrefix="ModelicaTest_3.2.3_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",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 348.9 MB, free: 9.164 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.974e-05/2.156e-05, allocations: 5.406 kB / 348.9 MB, free: 9.16 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.001921/0.001943, allocations: 1.595 MB / 350.5 MB, free: 7.559 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00048/0.002423, allocations: 303.5 kB / 350.8 MB, free: 7.258 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.728e-05/0.0025, allocations: 0 / 350.8 MB, free: 7.258 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003667/0.002867, allocations: 127.6 kB / 350.9 MB, free: 7.133 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001915/0.003058, allocations: 87.64 kB / 351 MB, free: 7.047 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001963/0.003254, allocations: 71.78 kB / 351.1 MB, free: 6.977 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001679/0.003422, allocations: 83.8 kB / 351.2 MB, free: 6.895 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.003533, allocations: 15.98 kB / 351.2 MB, free: 6.879 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.881e-05/0.003602, allocations: 43.88 kB / 351.2 MB, free: 6.836 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001191/0.003721, allocations: 87.83 kB / 351.3 MB, free: 6.75 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.047e-05/0.003742, allocations: 0 / 351.3 MB, free: 6.75 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.458e-05/0.003806, allocations: 35.86 kB / 351.4 MB, free: 6.715 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.474e-05/0.003851, allocations: 23.94 kB / 351.4 MB, free: 6.691 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.308e-05/0.003874, allocations: 19.84 kB / 351.4 MB, free: 6.672 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001306/0.004005, allocations: 75.75 kB / 351.5 MB, free: 6.598 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.004007, allocations: 0 / 351.5 MB, free: 6.598 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.004007, allocations: 4 kB / 351.5 MB, free: 6.594 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.004011, allocations: 0 / 351.5 MB, free: 6.594 MB / 282.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.0003575/0.004369, allocations: 451.8 kB / 351.9 MB, free: 6.117 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.004405, allocations: 16.02 kB / 351.9 MB, free: 6.102 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.497e-05/0.00444, allocations: 12.84 kB / 351.9 MB, free: 6.09 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.004558, allocations: 164.1 kB / 352.1 MB, free: 5.902 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.004568, allocations: 384 / 352.1 MB, free: 5.902 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.807e-05/0.004586, allocations: 8.375 kB / 352.1 MB, free: 5.895 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.75e-05/0.004663, allocations: 46.95 kB / 352.2 MB, free: 5.84 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.004675, allocations: 192 / 352.2 MB, free: 5.84 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.223e-06/0.004682, allocations: 12.12 kB / 352.2 MB, free: 5.828 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.004688, allocations: 0 / 352.2 MB, free: 5.828 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.951e-05/0.004707, allocations: 7.984 kB / 352.2 MB, free: 5.82 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001901/0.004897, allocations: 264.3 kB / 352.4 MB, free: 5.535 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001144/0.005012, allocations: 39.05 kB / 352.5 MB, free: 5.484 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.151e-05/0.005023, allocations: 11.69 kB / 352.5 MB, free: 5.469 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.361e-05/0.005037, allocations: 4 kB / 352.5 MB, free: 5.465 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.462e-05/0.005052, allocations: 37.33 kB / 352.5 MB, free: 5.418 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.005052, allocations: 0 / 352.5 MB, free: 5.418 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002303/0.005283, allocations: 93.81 kB / 352.6 MB, free: 5.32 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.092e-05/0.005304, allocations: 59.41 kB / 352.7 MB, free: 5.25 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.253e-05/0.005396, allocations: 253.7 kB / 352.9 MB, free: 4.984 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.403e-06/0.005403, allocations: 29.7 kB / 353 MB, free: 4.949 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.821e-05/0.005451, allocations: 166.8 kB / 353.1 MB, free: 4.781 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.908e-05/0.00547, allocations: 19.84 kB / 353.1 MB, free: 4.762 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.69e-05/0.005497, allocations: 31.3 kB / 353.2 MB, free: 4.723 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.021e-05/0.005557, allocations: 0.4962 MB / 353.7 MB, free: 4.215 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.967e-06/0.005566, allocations: 4 kB / 353.7 MB, free: 4.211 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.857e-06/0.005575, allocations: 4 kB / 353.7 MB, free: 4.207 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.439e-05/0.005599, allocations: 19.69 kB / 353.7 MB, free: 4.184 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.0056, allocations: 4 kB / 353.7 MB, free: 4.18 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.505e-05/0.005655, allocations: 61.58 kB / 353.8 MB, free: 4.113 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.858e-06/0.005665, allocations: 4 kB / 353.8 MB, free: 4.109 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.005669, allocations: 48 / 353.8 MB, free: 4.109 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.939e-06/0.005679, allocations: 7.984 kB / 353.8 MB, free: 4.102 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.556e-05/0.005715, allocations: 16.17 kB / 353.8 MB, free: 4.086 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.615e-06/0.005717, allocations: 3.938 kB / 353.8 MB, free: 4.082 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.67e-05/0.005734, allocations: 11.95 kB / 353.8 MB, free: 4.07 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.519e-06/0.005739, allocations: 4 kB / 353.8 MB, free: 4.066 MB / 282.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 3.911e-05/0.005778, allocations: 152.6 kB / 354 MB, free: 3.906 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.926e-05/0.005797, allocations: 19.89 kB / 354 MB, free: 3.887 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.133e-05/0.005868, allocations: 66.83 kB / 354 MB, free: 3.812 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.00587, allocations: 4 kB / 354 MB, free: 3.809 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.005872, allocations: 0 / 354 MB, free: 3.809 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.005874, allocations: 0 / 354 MB, free: 3.809 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001556/0.00603, allocations: 313.9 kB / 354.3 MB, free: 3.469 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-07/0.006031, allocations: 0 / 354.3 MB, free: 3.469 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.243e-05/0.006053, allocations: 8 kB / 354.4 MB, free: 3.461 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.006055, allocations: 4 kB / 354.4 MB, free: 3.457 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.927e-06/0.006059, allocations: 0 / 354.4 MB, free: 3.457 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.00606, allocations: 4 kB / 354.4 MB, free: 3.453 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.006061, allocations: 0 / 354.4 MB, free: 3.453 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.273e-05/0.006123, allocations: 215.8 kB / 354.6 MB, free: 3.223 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.205e-06/0.006132, allocations: 11.91 kB / 354.6 MB, free: 3.211 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.082e-05/0.006142, allocations: 4 kB / 354.6 MB, free: 3.207 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.177e-05/0.006174, allocations: 7.984 kB / 354.6 MB, free: 3.199 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.056e-05/0.006205, allocations: 4 kB / 354.6 MB, free: 3.195 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.434e-06/0.006207, allocations: 192 / 354.6 MB, free: 3.195 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.613e-05/0.006253, allocations: 180.2 kB / 354.8 MB, free: 3.02 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006253, allocations: 0 / 354.8 MB, free: 3.02 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001546/0.006408, allocations: 19.94 kB / 354.8 MB, free: 3 MB / 282.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.0006815/0.007089, allocations: 376.5 kB / 355.2 MB, free: 2.719 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.87e-05/0.007158, allocations: 35.59 kB / 355.2 MB, free: 2.68 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.00716, allocations: 4 kB / 355.2 MB, free: 2.676 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.632e-05/0.007176, allocations: 15.69 kB / 355.2 MB, free: 2.656 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002041/0.00738, allocations: 25.11 kB / 355.2 MB, free: 2.633 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002599/0.00764, allocations: 222.7 kB / 355.5 MB, free: 2.387 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.92e-05/0.007669, allocations: 71.33 kB / 355.5 MB, free: 2.297 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.698e-05/0.007696, allocations: 7.984 kB / 355.5 MB, free: 2.289 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.86e-05/0.007735, allocations: 78.2 kB / 355.6 MB, free: 2.211 MB / 282.7 MB Notification: Performance of SimCode: time 6.22e-07/0.007735, allocations: 0 / 355.6 MB, free: 2.211 MB / 282.7 MB Notification: Performance of Templates: time 0.002768/0.0105, allocations: 1.296 MB / 356.9 MB, free: 0.9258 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 3.0409140209667385]