Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.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.001165/0.001165, allocations: 81.86 kB / 21.42 MB, free: 3.066 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.001393/0.001393, allocations: 171.3 kB / 24.82 MB, free: 9.297 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.9392/0.9392, allocations: 177.1 MB / 205.3 MB, free: 5.105 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.2535/0.2535, allocations: 32.81 MB / 294.6 MB, free: 1.137 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.CombiTable1Dv.Test5,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.CombiTable1Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,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.CombiTable1Dv.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 7.72e-07/7.72e-07, allocations: 0 / 376.5 MB, free: 4.391 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.979e-06/1.075e-05, allocations: 2.312 kB / 376.5 MB, free: 4.387 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.001959/0.00197, allocations: 1.657 MB / 378.2 MB, free: 2.715 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005987/0.002569, allocations: 0.5297 MB / 378.7 MB, free: 2.18 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.67e-05/0.002606, allocations: 0 / 378.7 MB, free: 2.18 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001831/0.002789, allocations: 107.5 kB / 378.8 MB, free: 2.074 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001721/0.002961, allocations: 107.6 kB / 378.9 MB, free: 1.969 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001701/0.003131, allocations: 115.5 kB / 379 MB, free: 1.855 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 9.439e-05/0.003225, allocations: 79.83 kB / 379.1 MB, free: 1.777 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.585e-05/0.003281, allocations: 11.97 kB / 379.1 MB, free: 1.766 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.833e-05/0.003329, allocations: 51.83 kB / 379.1 MB, free: 1.715 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.946e-05/0.003389, allocations: 51.88 kB / 379.2 MB, free: 1.664 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.002e-05/0.003399, allocations: 8 kB / 379.2 MB, free: 1.656 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.483e-05/0.003454, allocations: 47.91 kB / 379.3 MB, free: 1.609 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.726e-05/0.003481, allocations: 23.92 kB / 379.3 MB, free: 1.586 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.642e-05/0.003497, allocations: 15.88 kB / 379.3 MB, free: 1.57 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001031/0.003601, allocations: 95.66 kB / 379.4 MB, free: 1.477 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.353e-06/0.003602, allocations: 0 / 379.4 MB, free: 1.477 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.003603, allocations: 0 / 379.4 MB, free: 1.477 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.377e-06/0.003606, allocations: 0 / 379.4 MB, free: 1.477 MB / 346.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.000278/0.003884, allocations: 463.7 kB / 379.8 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.517e-05/0.003909, allocations: 8.031 kB / 379.8 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.487e-05/0.003934, allocations: 16.89 kB / 379.9 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.956e-05/0.004024, allocations: 148.4 kB / 380 MB, free: 0.793 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.554e-06/0.004031, allocations: 4.375 kB / 380 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.004043, allocations: 4.375 kB / 380 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.531e-05/0.004108, allocations: 54.94 kB / 380.1 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.004115, allocations: 4.188 kB / 380.1 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.61e-06/0.004121, allocations: 4.125 kB / 380.1 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.004125, allocations: 0 / 380.1 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.084e-05/0.004146, allocations: 15.92 kB / 380.1 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001814/0.004327, allocations: 264.4 kB / 380.3 MB, free: 424 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.352e-05/0.004371, allocations: 55.02 kB / 380.4 MB, free: 356 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.408e-05/0.004385, allocations: 15.62 kB / 380.4 MB, free: 336 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.445e-05/0.004399, allocations: 0 / 380.4 MB, free: 336 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.607e-05/0.004415, allocations: 41.33 kB / 380.5 MB, free: 284 kB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 6.11e-07/0.004416, allocations: 0 / 380.5 MB, free: 284 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003295/0.004746, allocations: 145.5 kB / 380.6 MB, free: 132 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.014e-05/0.004766, allocations: 59.39 kB / 380.7 MB, free: 60 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.004878, allocations: 245.8 kB / 380.9 MB, free: 15.8 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.446e-06/0.004887, allocations: 29.7 kB / 380.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.622e-05/0.004933, allocations: 154.9 kB / 381.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.163e-05/0.004955, allocations: 31.72 kB / 381.1 MB, free: 15.58 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.546e-05/0.00498, allocations: 27.38 kB / 381.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.39e-05/0.005074, allocations: 0.5001 MB / 381.6 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.246e-05/0.005086, allocations: 7.984 kB / 381.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.447e-05/0.005101, allocations: 12.08 kB / 381.7 MB, free: 15.01 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.457e-05/0.005135, allocations: 43.73 kB / 381.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.103e-06/0.005138, allocations: 3.938 kB / 381.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.298e-05/0.005201, allocations: 69.59 kB / 381.8 MB, free: 14.89 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.204e-06/0.005208, allocations: 4 kB / 381.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.475e-06/0.00521, allocations: 7.938 kB / 381.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.486e-06/0.005219, allocations: 0 / 381.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.762e-05/0.005266, allocations: 19.98 kB / 381.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.054e-06/0.005268, allocations: 0 / 381.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.723e-05/0.005286, allocations: 4 kB / 381.8 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-06/0.00529, allocations: 4 kB / 381.8 MB, free: 14.85 MB / 362.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 4.799e-05/0.005338, allocations: 160.5 kB / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.005e-05/0.005358, allocations: 15.95 kB / 382 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.022e-05/0.005448, allocations: 83.12 kB / 382.1 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.005449, allocations: 0 / 382.1 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-06/0.00545, allocations: 4 kB / 382.1 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.093e-06/0.005453, allocations: 0 / 382.1 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002265/0.005679, allocations: 349.5 kB / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.00568, allocations: 0 / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.369e-05/0.005714, allocations: 23.94 kB / 382.4 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.005715, allocations: 0 / 382.4 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.005721, allocations: 3.984 kB / 382.4 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.005722, allocations: 4 kB / 382.4 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.005723, allocations: 0 / 382.4 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.024e-05/0.005813, allocations: 235.5 kB / 382.7 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.775e-06/0.005821, allocations: 11.95 kB / 382.7 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.014e-05/0.005831, allocations: 4 kB / 382.7 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.213e-05/0.005863, allocations: 3.984 kB / 382.7 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.588e-05/0.005879, allocations: 7.938 kB / 382.7 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.005883, allocations: 4 kB / 382.7 MB, free: 13.88 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.666e-05/0.00594, allocations: 171.1 kB / 382.9 MB, free: 13.71 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00594, allocations: 0 / 382.9 MB, free: 13.71 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001481/0.006088, allocations: 19.94 kB / 382.9 MB, free: 13.69 MB / 362.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.0007354/0.006823, allocations: 453.4 kB / 383.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 6.404e-05/0.006887, allocations: 35.66 kB / 383.4 MB, free: 13.37 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.71e-07/0.006888, allocations: 3.938 kB / 383.4 MB, free: 13.36 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.248e-05/0.006911, allocations: 23.67 kB / 383.4 MB, free: 13.34 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001718/0.007082, allocations: 31.56 kB / 383.4 MB, free: 13.31 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002393/0.007322, allocations: 241.7 kB / 383.7 MB, free: 13.04 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.494e-05/0.007357, allocations: 75.33 kB / 383.7 MB, free: 12.95 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.026e-05/0.007387, allocations: 17.09 kB / 383.7 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.145e-05/0.007438, allocations: 82.19 kB / 383.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of SimCode: time 6.11e-07/0.007439, allocations: 0 / 383.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of Templates: time 0.002786/0.01022, allocations: 1.558 MB / 385.4 MB, free: 11.3 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.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.906883434858173]