Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.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.001375/0.001375, allocations: 81.97 kB / 22.21 MB, free: 2.285 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.002042/0.002042, allocations: 163.8 kB / 25.61 MB, free: 8.539 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 1.045/1.045, allocations: 177.1 MB / 206.1 MB, free: 4.477 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.1399/0.1399, allocations: 32.8 MB / 295.4 MB, free: 15.36 MB / 282.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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test7,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.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 377.3 MB, free: 25.57 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.285e-05/2.421e-05, allocations: 6.312 kB / 377.3 MB, free: 25.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.002171/0.002196, allocations: 1.622 MB / 378.9 MB, free: 23.93 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007285/0.002924, allocations: 0.5259 MB / 379.4 MB, free: 23.4 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.193e-05/0.002986, allocations: 7.938 kB / 379.4 MB, free: 23.39 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002139/0.0032, allocations: 19.86 kB / 379.5 MB, free: 23.37 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002673/0.003467, allocations: 91.53 kB / 379.5 MB, free: 23.28 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002583/0.003725, allocations: 103.7 kB / 379.6 MB, free: 23.18 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001475/0.003873, allocations: 71.7 kB / 379.7 MB, free: 23.11 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.162e-05/0.003965, allocations: 7.859 kB / 379.7 MB, free: 23.1 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.589e-05/0.004021, allocations: 31.91 kB / 379.8 MB, free: 23.07 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.996e-05/0.00408, allocations: 23.92 kB / 379.8 MB, free: 23.05 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.004094, allocations: 4 kB / 379.8 MB, free: 23.04 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.879e-05/0.004163, allocations: 35.92 kB / 379.8 MB, free: 23.01 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.307e-05/0.004206, allocations: 15.91 kB / 379.8 MB, free: 22.99 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.135e-05/0.004227, allocations: 11.94 kB / 379.8 MB, free: 22.98 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000132/0.004359, allocations: 71.75 kB / 379.9 MB, free: 22.91 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.004363, allocations: 3.938 kB / 379.9 MB, free: 22.91 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.004364, allocations: 0 / 379.9 MB, free: 22.91 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.004368, allocations: 0 / 379.9 MB, free: 22.91 MB / 314.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.00032/0.004688, allocations: 416.1 kB / 380.3 MB, free: 22.46 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.004721, allocations: 19.98 kB / 380.3 MB, free: 22.45 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.206e-05/0.004753, allocations: 8.891 kB / 380.4 MB, free: 22.44 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.004858, allocations: 136.5 kB / 380.5 MB, free: 22.28 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.004868, allocations: 4.359 kB / 380.5 MB, free: 22.27 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.862e-05/0.004886, allocations: 4.375 kB / 380.5 MB, free: 22.27 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.834e-05/0.004975, allocations: 50.95 kB / 380.5 MB, free: 22.21 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.004986, allocations: 4.188 kB / 380.5 MB, free: 22.21 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.004995, allocations: 8.109 kB / 380.6 MB, free: 22.2 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.005, allocations: 3.938 kB / 380.6 MB, free: 22.2 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.263e-05/0.005022, allocations: 8 kB / 380.6 MB, free: 22.19 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002256/0.005248, allocations: 256.4 kB / 380.8 MB, free: 21.91 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.005375, allocations: 39.06 kB / 380.9 MB, free: 21.86 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.656e-05/0.005392, allocations: 19.7 kB / 380.9 MB, free: 21.84 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.005409, allocations: 0 / 380.9 MB, free: 21.84 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.532e-05/0.005424, allocations: 37.33 kB / 380.9 MB, free: 21.79 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.005426, allocations: 0 / 380.9 MB, free: 21.79 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002861/0.005712, allocations: 85.52 kB / 381 MB, free: 21.7 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.095e-05/0.005733, allocations: 55.41 kB / 381 MB, free: 21.63 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.794e-05/0.005821, allocations: 212.8 kB / 381.3 MB, free: 21.41 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.071e-06/0.005827, allocations: 25.7 kB / 381.3 MB, free: 21.38 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.578e-05/0.005863, allocations: 150.8 kB / 381.4 MB, free: 21.23 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.925e-05/0.005882, allocations: 15.84 kB / 381.4 MB, free: 21.21 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.59e-05/0.005908, allocations: 23.38 kB / 381.5 MB, free: 21.18 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.877e-05/0.005956, allocations: 0.4884 MB / 382 MB, free: 20.68 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.231e-05/0.005969, allocations: 8 kB / 382 MB, free: 20.67 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.256e-05/0.005981, allocations: 7.984 kB / 382 MB, free: 20.66 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.829e-05/0.00601, allocations: 23.67 kB / 382 MB, free: 20.64 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.006011, allocations: 3.938 kB / 382 MB, free: 20.63 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.982e-05/0.006081, allocations: 65.53 kB / 382.1 MB, free: 20.56 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.006097, allocations: 5.562 kB / 382.1 MB, free: 20.56 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.006102, allocations: 4 kB / 382.1 MB, free: 20.55 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.006112, allocations: 4 kB / 382.1 MB, free: 20.55 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.702e-05/0.006169, allocations: 8 kB / 382.1 MB, free: 20.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.256e-06/0.006173, allocations: 0 / 382.1 MB, free: 20.54 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.871e-05/0.006191, allocations: 7.984 kB / 382.1 MB, free: 20.54 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.006196, allocations: 0 / 382.1 MB, free: 20.54 MB / 314.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.469e-05/0.006251, allocations: 156.5 kB / 382.2 MB, free: 20.37 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.13e-05/0.006272, allocations: 11.95 kB / 382.3 MB, free: 20.36 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001147/0.006387, allocations: 74.33 kB / 382.3 MB, free: 20.28 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.00639, allocations: 0 / 382.3 MB, free: 20.28 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.006391, allocations: 4 kB / 382.3 MB, free: 20.28 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.006396, allocations: 0 / 382.3 MB, free: 20.28 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002392/0.006635, allocations: 294 kB / 382.6 MB, free: 19.96 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.006637, allocations: 0 / 382.6 MB, free: 19.96 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.277e-05/0.00668, allocations: 19.92 kB / 382.6 MB, free: 19.94 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.006682, allocations: 0 / 382.6 MB, free: 19.94 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.521e-06/0.006688, allocations: 0 / 382.6 MB, free: 19.94 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.006689, allocations: 0 / 382.6 MB, free: 19.94 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.00669, allocations: 0 / 382.6 MB, free: 19.94 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.958e-05/0.00678, allocations: 207.8 kB / 382.8 MB, free: 19.71 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.094e-05/0.006791, allocations: 11.95 kB / 382.9 MB, free: 19.7 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.182e-05/0.006803, allocations: 4 kB / 382.9 MB, free: 19.7 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.103e-05/0.006834, allocations: 8 kB / 382.9 MB, free: 19.69 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.785e-05/0.006862, allocations: 8.203 kB / 382.9 MB, free: 19.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.006866, allocations: 0 / 382.9 MB, free: 19.68 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.018e-05/0.006906, allocations: 147.2 kB / 383 MB, free: 19.54 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006906, allocations: 0 / 383 MB, free: 19.54 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001835/0.00709, allocations: 19.92 kB / 383 MB, free: 19.52 MB / 314.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.0008276/0.007917, allocations: 396.3 kB / 383.4 MB, free: 19.28 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.796e-05/0.008015, allocations: 27.67 kB / 383.5 MB, free: 19.25 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.008018, allocations: 0 / 383.5 MB, free: 19.25 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.254e-05/0.00804, allocations: 15.81 kB / 383.5 MB, free: 19.23 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/0.008258, allocations: 26.81 kB / 383.5 MB, free: 19.21 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002735/0.008531, allocations: 184.5 kB / 383.7 MB, free: 19 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.473e-05/0.008556, allocations: 71.19 kB / 383.7 MB, free: 18.91 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.931e-05/0.008585, allocations: 8 kB / 383.7 MB, free: 18.9 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.346e-05/0.008629, allocations: 78.19 kB / 383.8 MB, free: 18.82 MB / 314.7 MB Notification: Performance of SimCode: time 7.91e-07/0.008629, allocations: 0 / 383.8 MB, free: 18.82 MB / 314.7 MB Notification: Performance of Templates: time 0.003453/0.01208, allocations: 1.289 MB / 385.1 MB, free: 17.54 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.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.4055165704339743]