Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.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.001649/0.001649, allocations: 82.42 kB / 20.68 MB, free: 1.035 MB / 14.72 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.002486/0.002486, allocations: 163.6 kB / 23.95 MB, free: 4.168 MB / 14.72 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.541/1.541, allocations: 177.1 MB / 204.3 MB, free: 9.215 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2107/0.2107, allocations: 34.28 MB / 295 MB, free: 14.6 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 442.8 MB, free: 5.34 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.262e-05/2.394e-05, allocations: 6.281 kB / 442.8 MB, free: 5.332 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003248/0.003272, allocations: 1.753 MB / 444.5 MB, free: 3.566 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001896/0.005167, allocations: 0.9781 MB / 445.5 MB, free: 2.582 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.891e-05/0.005246, allocations: 0 / 445.5 MB, free: 2.582 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003567/0.005603, allocations: 103.6 kB / 445.6 MB, free: 2.48 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003788/0.005982, allocations: 143.3 kB / 445.7 MB, free: 2.34 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002129/0.006195, allocations: 75.67 kB / 445.8 MB, free: 2.266 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002471/0.006442, allocations: 143.6 kB / 446 MB, free: 2.125 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.457e-05/0.006536, allocations: 13.58 kB / 446 MB, free: 2.109 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.006667, allocations: 75.81 kB / 446 MB, free: 2.035 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00014/0.006807, allocations: 75.77 kB / 446.1 MB, free: 1.961 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.247e-05/0.006829, allocations: 4 kB / 446.1 MB, free: 1.957 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001241/0.006953, allocations: 63.86 kB / 446.2 MB, free: 1.895 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.116e-05/0.007025, allocations: 31.91 kB / 446.2 MB, free: 1.863 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.219e-05/0.007087, allocations: 31.86 kB / 446.3 MB, free: 1.832 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002681/0.007355, allocations: 159.4 kB / 446.4 MB, free: 1.676 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.257e-06/0.007358, allocations: 4 kB / 446.4 MB, free: 1.672 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.007359, allocations: 0 / 446.4 MB, free: 1.672 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.007363, allocations: 3.938 kB / 446.4 MB, free: 1.668 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006004/0.007964, allocations: 385.3 kB / 446.8 MB, free: 1.262 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.007998, allocations: 8.031 kB / 446.8 MB, free: 1.254 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.301e-05/0.008051, allocations: 20.8 kB / 446.8 MB, free: 1.234 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002477/0.008299, allocations: 170.4 kB / 447 MB, free: 1.039 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/0.00832, allocations: 12.31 kB / 447 MB, free: 1.027 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.5e-05/0.008345, allocations: 4.375 kB / 447 MB, free: 1.023 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001913/0.008537, allocations: 74.22 kB / 447.1 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.008552, allocations: 3.938 kB / 447.1 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.008567, allocations: 8 kB / 447.1 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.008571, allocations: 0 / 447.1 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001218/0.008693, allocations: 35.97 kB / 447.1 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004658/0.009158, allocations: 272.4 kB / 447.4 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003032/0.009462, allocations: 82.47 kB / 447.5 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.512e-05/0.009537, allocations: 28.84 kB / 447.5 MB, free: 492 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.646e-05/0.009553, allocations: 0 / 447.5 MB, free: 492 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001778/0.009731, allocations: 87.31 kB / 447.6 MB, free: 392 kB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.684e-06/0.009733, allocations: 0 / 447.6 MB, free: 392 kB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009442/0.01068, allocations: 309.8 kB / 447.9 MB, free: 76 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.669e-05/0.01072, allocations: 51.41 kB / 447.9 MB, free: 12 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1983/0.209, allocations: 265.7 kB / 448.2 MB, free: 19.46 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.437e-05/0.209, allocations: 30.66 kB / 448.2 MB, free: 19.43 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.882e-05/0.2091, allocations: 115.9 kB / 448.3 MB, free: 19.35 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.467e-05/0.2091, allocations: 41.3 kB / 448.4 MB, free: 19.35 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.542e-05/0.2092, allocations: 36.69 kB / 448.4 MB, free: 19.34 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.63e-05/0.2092, allocations: 335 kB / 448.7 MB, free: 19.02 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001105/0.2094, allocations: 44.33 kB / 448.8 MB, free: 19.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001042/0.2095, allocations: 55.69 kB / 448.8 MB, free: 19.01 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001839/0.2096, allocations: 107.9 kB / 448.9 MB, free: 18.99 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2096, allocations: 0 / 448.9 MB, free: 18.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003952/0.21, allocations: 173.4 kB / 449.1 MB, free: 18.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.2101, allocations: 5.375 kB / 449.1 MB, free: 18.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.2101, allocations: 5.281 kB / 449.1 MB, free: 18.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.41e-05/0.2101, allocations: 4.781 kB / 449.1 MB, free: 18.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.2102, allocations: 25.3 kB / 449.2 MB, free: 18.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.2102, allocations: 1.344 kB / 449.2 MB, free: 18.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.11e-05/0.2103, allocations: 6.688 kB / 449.2 MB, free: 18.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.022e-05/0.2104, allocations: 5.344 kB / 449.2 MB, free: 18.93 MB / 366.1 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 (16): * Single equations (assignments): 16 * 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 0.0001412/0.2105, allocations: 144.1 kB / 449.3 MB, free: 18.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.453e-05/0.2105, allocations: 16.38 kB / 449.3 MB, free: 18.79 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005257/0.2111, allocations: 205.5 kB / 449.5 MB, free: 18.71 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.2111, allocations: 5.406 kB / 449.5 MB, free: 18.71 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.2111, allocations: 2.562 kB / 449.5 MB, free: 18.71 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.822e-06/0.2111, allocations: 1.984 kB / 449.5 MB, free: 18.71 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008426/0.2119, allocations: 464.7 kB / 450 MB, free: 18.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.2119, allocations: 1.031 kB / 450 MB, free: 18.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001238/0.2121, allocations: 29.34 kB / 450 MB, free: 18.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.2121, allocations: 6.344 kB / 450 MB, free: 18.38 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.013e-05/0.2121, allocations: 6.625 kB / 450 MB, free: 18.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.2121, allocations: 2.938 kB / 450 MB, free: 18.38 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.2121, allocations: 1.062 kB / 450 MB, free: 18.38 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004686/0.2126, allocations: 279.9 kB / 450.3 MB, free: 18.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.417e-05/0.2126, allocations: 14.38 kB / 450.3 MB, free: 18.17 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.719e-05/0.2126, allocations: 8.203 kB / 450.3 MB, free: 18.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.2128, allocations: 3.203 kB / 450.3 MB, free: 18.17 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.493e-05/0.2128, allocations: 18.91 kB / 450.3 MB, free: 18.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.718e-05/0.2129, allocations: 7.062 kB / 450.4 MB, free: 18.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001708/0.213, allocations: 204.7 kB / 450.6 MB, free: 18.05 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.213, allocations: 0 / 450.6 MB, free: 18.05 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005054/0.2135, allocations: 34.81 kB / 450.6 MB, free: 18.05 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 14 * 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.002883/0.2164, allocations: 0.5596 MB / 451.2 MB, free: 17.88 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003636/0.2168, allocations: 103.1 kB / 451.3 MB, free: 17.84 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2168, allocations: 0 / 451.3 MB, free: 17.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001581/0.217, allocations: 54.33 kB / 451.3 MB, free: 17.83 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005784/0.2175, allocations: 30.98 kB / 451.3 MB, free: 17.82 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007151/0.2182, allocations: 343.4 kB / 451.7 MB, free: 17.59 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001308/0.2184, allocations: 116 kB / 451.8 MB, free: 17.52 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.168e-05/0.2185, allocations: 28.86 kB / 451.8 MB, free: 17.5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.618e-05/0.2185, allocations: 27.25 kB / 451.8 MB, free: 17.49 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2185, allocations: 0 / 451.8 MB, free: 17.49 MB / 366.1 MB Notification: Performance of Templates: time 0.008827/0.2274, allocations: 2.338 MB / 454.2 MB, free: 17.2 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.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: 5.076789613813162]