Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.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.001286/0.001286, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.00855/0.00855, allocations: 164.1 kB / 24.7 MB, free: 8.891 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.9407/0.9407, allocations: 177.1 MB / 205 MB, free: 5.742 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.2645/0.2645, allocations: 32.8 MB / 294.2 MB, free: 1.211 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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 440.9 MB, free: 3.73 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.072e-05/3.295e-05, allocations: 2.281 kB / 440.9 MB, free: 3.727 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.0033/0.003333, allocations: 1.596 MB / 442.5 MB, free: 2.117 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001006/0.00434, allocations: 0.5258 MB / 443 MB, free: 1.586 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.51e-05/0.004415, allocations: 0 / 443 MB, free: 1.586 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002401/0.004655, allocations: 27.78 kB / 443 MB, free: 1.559 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003443/0.004999, allocations: 79.56 kB / 443.1 MB, free: 1.48 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003718/0.005371, allocations: 107.7 kB / 443.2 MB, free: 1.375 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001735/0.005545, allocations: 71.72 kB / 443.3 MB, free: 1.305 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.00566, allocations: 15.97 kB / 443.3 MB, free: 1.289 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.493e-05/0.005735, allocations: 27.92 kB / 443.3 MB, free: 1.262 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.778e-05/0.005802, allocations: 15.92 kB / 443.3 MB, free: 1.246 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.842e-05/0.005821, allocations: 4 kB / 443.3 MB, free: 1.242 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.463e-05/0.005915, allocations: 39.84 kB / 443.4 MB, free: 1.203 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.531e-05/0.005971, allocations: 11.94 kB / 443.4 MB, free: 1.191 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.397e-05/0.006005, allocations: 11.98 kB / 443.4 MB, free: 1.18 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001968/0.006201, allocations: 79.72 kB / 443.5 MB, free: 1.102 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.006205, allocations: 0 / 443.5 MB, free: 1.102 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.006207, allocations: 0 / 443.5 MB, free: 1.102 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.006212, allocations: 3.938 kB / 443.5 MB, free: 1.098 MB / 410.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.0005167/0.006729, allocations: 321.8 kB / 443.8 MB, free: 0.7539 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.006773, allocations: 8.031 kB / 443.8 MB, free: 0.7461 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.723e-05/0.00682, allocations: 8.891 kB / 443.8 MB, free: 0.7383 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001816/0.007001, allocations: 127.4 kB / 443.9 MB, free: 0.5898 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.007015, allocations: 8.375 kB / 443.9 MB, free: 0.582 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.247e-05/0.007038, allocations: 384 / 443.9 MB, free: 0.582 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.007184, allocations: 46.25 kB / 444 MB, free: 0.5312 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.007198, allocations: 192 / 444 MB, free: 0.5312 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.007211, allocations: 4.125 kB / 444 MB, free: 0.5273 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.007217, allocations: 0 / 444 MB, free: 0.5273 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.861e-05/0.007296, allocations: 31.97 kB / 444 MB, free: 0.4961 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003826/0.007678, allocations: 228.5 kB / 444.2 MB, free: 248 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002209/0.007899, allocations: 42.56 kB / 444.3 MB, free: 196 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.103e-05/0.00794, allocations: 20.94 kB / 444.3 MB, free: 172 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.792e-05/0.007968, allocations: 7.938 kB / 444.3 MB, free: 164 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.00799, allocations: 30.56 kB / 444.3 MB, free: 124 kB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.552e-06/0.007992, allocations: 0 / 444.3 MB, free: 124 kB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.1986/0.2066, allocations: 154.7 kB / 444.5 MB, free: 46.62 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/0.2067, allocations: 57.64 kB / 444.6 MB, free: 46.55 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.2068, allocations: 148.9 kB / 444.7 MB, free: 46.45 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.925e-06/0.2068, allocations: 29.05 kB / 444.7 MB, free: 46.42 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.588e-05/0.2068, allocations: 90.95 kB / 444.8 MB, free: 46.34 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.34e-05/0.2068, allocations: 17.47 kB / 444.8 MB, free: 46.34 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.217e-05/0.2069, allocations: 20.22 kB / 444.8 MB, free: 46.32 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.198e-05/0.2069, allocations: 322.7 kB / 445.2 MB, free: 46.01 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.086e-05/0.207, allocations: 19.47 kB / 445.2 MB, free: 46.01 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.533e-05/0.207, allocations: 22.09 kB / 445.2 MB, free: 46.01 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.944e-05/0.2071, allocations: 53.33 kB / 445.3 MB, free: 46 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-06/0.2071, allocations: 0.5625 kB / 445.3 MB, free: 46 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001196/0.2072, allocations: 90.5 kB / 445.3 MB, free: 45.97 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.2072, allocations: 5.906 kB / 445.4 MB, free: 45.97 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.2072, allocations: 6.812 kB / 445.4 MB, free: 45.97 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.2072, allocations: 0 / 445.4 MB, free: 45.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.67e-05/0.2073, allocations: 15.17 kB / 445.4 MB, free: 45.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.2073, allocations: 0 / 445.4 MB, free: 45.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.685e-05/0.2073, allocations: 13.61 kB / 445.4 MB, free: 45.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.2073, allocations: 2.688 kB / 445.4 MB, free: 45.97 MB / 410.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.968e-05/0.2074, allocations: 117.3 kB / 445.5 MB, free: 45.86 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.803e-05/0.2074, allocations: 12.05 kB / 445.5 MB, free: 45.85 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001738/0.2076, allocations: 106 kB / 445.6 MB, free: 45.81 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.2076, allocations: 0 / 445.6 MB, free: 45.81 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.2076, allocations: 3.375 kB / 445.6 MB, free: 45.81 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.2076, allocations: 0.9375 kB / 445.6 MB, free: 45.81 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000254/0.2078, allocations: 295.4 kB / 445.9 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.2078, allocations: 7.438 kB / 445.9 MB, free: 45.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.212e-05/0.2079, allocations: 14.88 kB / 445.9 MB, free: 45.58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.2079, allocations: 0 / 445.9 MB, free: 45.58 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.493e-06/0.2079, allocations: 3.281 kB / 445.9 MB, free: 45.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.2079, allocations: 3.094 kB / 445.9 MB, free: 45.58 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.2079, allocations: 0 / 445.9 MB, free: 45.58 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001035/0.208, allocations: 181.8 kB / 446.1 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.757e-06/0.208, allocations: 10.41 kB / 446.1 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.208, allocations: 9.406 kB / 446.1 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.219e-05/0.2081, allocations: 2.844 kB / 446.1 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.07e-05/0.2081, allocations: 3.281 kB / 446.1 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.2081, allocations: 2.844 kB / 446.1 MB, free: 45.44 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.429e-05/0.2081, allocations: 124 kB / 446.3 MB, free: 45.36 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2081, allocations: 0 / 446.3 MB, free: 45.36 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001711/0.2083, allocations: 12.41 kB / 446.3 MB, free: 45.36 MB / 410.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.0007027/0.209, allocations: 442.2 kB / 446.7 MB, free: 45.24 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001453/0.2091, allocations: 52.17 kB / 446.8 MB, free: 45.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2092, allocations: 2.625 kB / 446.8 MB, free: 45.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.657e-05/0.2092, allocations: 29.69 kB / 446.8 MB, free: 45.23 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002749/0.2095, allocations: 21.12 kB / 446.8 MB, free: 45.23 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003391/0.2098, allocations: 204.6 kB / 447 MB, free: 45.08 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.772e-05/0.2098, allocations: 82.33 kB / 447.1 MB, free: 45.01 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.63e-05/0.2099, allocations: 14.88 kB / 447.1 MB, free: 45 MB / 410.7 MB Notification: Performance of SimCode: time 8.82e-07/0.2099, allocations: 0 / 447.1 MB, free: 45 MB / 410.7 MB Notification: Performance of Templates: time 0.002153/0.212, allocations: 1.494 MB / 448.6 MB, free: 44.86 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.987909208983183]