Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.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.001189/0.001189, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.001306/0.001306, allocations: 169.4 kB / 25.61 MB, free: 8.902 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.9954/0.9954, allocations: 177.1 MB / 206 MB, free: 4.504 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.171/0.171, allocations: 32.8 MB / 295.4 MB, free: 15.39 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.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 377.3 MB, free: 25.52 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.326e-05/2.465e-05, allocations: 2.312 kB / 377.3 MB, free: 25.52 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.002291/0.002315, allocations: 1.71 MB / 379.1 MB, free: 23.8 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001148/0.003463, allocations: 0.9819 MB / 380 MB, free: 22.81 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.003567, allocations: 4 kB / 380 MB, free: 22.81 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003437/0.00391, allocations: 63.67 kB / 380.1 MB, free: 22.75 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003799/0.00429, allocations: 107.5 kB / 380.2 MB, free: 22.64 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002369/0.004527, allocations: 79.66 kB / 380.3 MB, free: 22.56 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001939/0.004721, allocations: 111.6 kB / 380.4 MB, free: 22.45 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.92e-05/0.00477, allocations: 4.234 kB / 380.4 MB, free: 22.45 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.605e-05/0.004866, allocations: 63.81 kB / 380.5 MB, free: 22.39 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001599/0.005026, allocations: 35.89 kB / 380.5 MB, free: 22.35 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.005045, allocations: 7.938 kB / 380.5 MB, free: 22.34 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.951e-05/0.005144, allocations: 35.92 kB / 380.5 MB, free: 22.31 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.882e-05/0.005203, allocations: 19.92 kB / 380.6 MB, free: 22.29 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.819e-05/0.005241, allocations: 19.92 kB / 380.6 MB, free: 22.27 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001796/0.005421, allocations: 83.73 kB / 380.7 MB, free: 22.19 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.005424, allocations: 0 / 380.7 MB, free: 22.19 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.005426, allocations: 0 / 380.7 MB, free: 22.19 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.005431, allocations: 0 / 380.7 MB, free: 22.19 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000436/0.005867, allocations: 451.9 kB / 381.1 MB, free: 21.71 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.866e-05/0.005936, allocations: 15.92 kB / 381.1 MB, free: 21.7 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.176e-05/0.005987, allocations: 8.891 kB / 381.1 MB, free: 21.69 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001699/0.006157, allocations: 153 kB / 381.3 MB, free: 21.51 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.006178, allocations: 4.375 kB / 381.3 MB, free: 21.51 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.969e-06/0.006188, allocations: 4.375 kB / 381.3 MB, free: 21.5 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/0.006302, allocations: 58.94 kB / 381.3 MB, free: 21.44 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.006311, allocations: 3.938 kB / 381.3 MB, free: 21.43 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.156e-06/0.006319, allocations: 0 / 381.3 MB, free: 21.43 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.006325, allocations: 0 / 381.3 MB, free: 21.43 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.685e-05/0.006351, allocations: 11.98 kB / 381.4 MB, free: 21.42 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000125/0.006476, allocations: 113.3 kB / 381.5 MB, free: 21.29 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.006578, allocations: 43.05 kB / 381.5 MB, free: 21.23 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.741e-05/0.006606, allocations: 23.67 kB / 381.5 MB, free: 21.2 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.421e-05/0.00662, allocations: 0 / 381.5 MB, free: 21.2 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001049/0.006725, allocations: 69.05 kB / 381.6 MB, free: 21.12 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.006726, allocations: 0 / 381.6 MB, free: 21.12 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001936/0.006919, allocations: 85.47 kB / 381.7 MB, free: 21.03 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.738e-05/0.006947, allocations: 51.41 kB / 381.7 MB, free: 20.97 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.812e-05/0.007045, allocations: 229.8 kB / 382 MB, free: 20.73 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.007058, allocations: 29.7 kB / 382 MB, free: 20.69 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.693e-05/0.007095, allocations: 150.8 kB / 382.1 MB, free: 20.54 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.696e-05/0.007132, allocations: 15.94 kB / 382.1 MB, free: 20.52 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.439e-05/0.007166, allocations: 23.36 kB / 382.2 MB, free: 20.49 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.409e-05/0.007241, allocations: 0.4962 MB / 382.7 MB, free: 19.98 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.915e-05/0.00726, allocations: 8 kB / 382.7 MB, free: 19.98 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.685e-05/0.007287, allocations: 31.34 kB / 382.7 MB, free: 19.94 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.533e-05/0.007332, allocations: 35.31 kB / 382.7 MB, free: 19.89 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.007335, allocations: 0 / 382.7 MB, free: 19.89 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.543e-05/0.00742, allocations: 65.59 kB / 382.8 MB, free: 19.82 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.007438, allocations: 4 kB / 382.8 MB, free: 19.82 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.007445, allocations: 4 kB / 382.8 MB, free: 19.82 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.007457, allocations: 7.875 kB / 382.8 MB, free: 19.81 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.623e-05/0.007533, allocations: 8 kB / 382.8 MB, free: 19.8 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.007538, allocations: 8.016 kB / 382.8 MB, free: 19.79 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.573e-05/0.007574, allocations: 11.94 kB / 382.8 MB, free: 19.78 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.00758, allocations: 3.938 kB / 382.9 MB, free: 19.78 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 6.752e-05/0.007647, allocations: 156.6 kB / 383 MB, free: 19.61 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.651e-05/0.007664, allocations: 15.91 kB / 383 MB, free: 19.6 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001914/0.007855, allocations: 82.77 kB / 383.1 MB, free: 19.51 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.007859, allocations: 7.922 kB / 383.1 MB, free: 19.5 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.007862, allocations: 384 / 383.1 MB, free: 19.5 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.007867, allocations: 0 / 383.1 MB, free: 19.5 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.375e-05/0.00795, allocations: 121.2 kB / 383.2 MB, free: 19.36 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.007953, allocations: 12 kB / 383.2 MB, free: 19.35 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.88e-05/0.007982, allocations: 4 kB / 383.2 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.007985, allocations: 0 / 383.2 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-06/0.007991, allocations: 0 / 383.2 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.007993, allocations: 0 / 383.2 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.007994, allocations: 0 / 383.2 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.513e-05/0.008079, allocations: 120.3 kB / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.63e-05/0.008095, allocations: 7.953 kB / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.008112, allocations: 0 / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.732e-05/0.00814, allocations: 7.984 kB / 383.4 MB, free: 19.19 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.068e-05/0.00817, allocations: 11.94 kB / 383.4 MB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/0.008185, allocations: 3.938 kB / 383.4 MB, free: 19.17 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.196e-05/0.008237, allocations: 171.1 kB / 383.6 MB, free: 19 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008237, allocations: 0 / 383.6 MB, free: 19 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000159/0.008396, allocations: 12 kB / 383.6 MB, free: 18.99 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000946/0.009342, allocations: 384.5 kB / 383.9 MB, free: 18.76 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.838e-05/0.009441, allocations: 31.67 kB / 384 MB, free: 18.73 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.009442, allocations: 0 / 384 MB, free: 18.73 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.649e-05/0.009469, allocations: 27.61 kB / 384 MB, free: 18.7 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001949/0.009664, allocations: 30.97 kB / 384 MB, free: 18.67 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003324/0.009996, allocations: 203.9 kB / 384.2 MB, free: 18.44 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3e-05/0.01003, allocations: 71.34 kB / 384.3 MB, free: 18.35 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.506e-05/0.01006, allocations: 16.42 kB / 384.3 MB, free: 18.34 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.85e-05/0.01012, allocations: 86.19 kB / 384.4 MB, free: 18.25 MB / 314.7 MB Notification: Performance of SimCode: time 8.01e-07/0.01012, allocations: 0 / 384.4 MB, free: 18.25 MB / 314.7 MB Notification: Performance of Templates: time 0.003634/0.01375, allocations: 1.818 MB / 386.2 MB, free: 16.46 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.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.2744724708609283]