Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.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.001352/0.001352, allocations: 83.84 kB / 20.68 MB, free: 1.023 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.001709/0.001709, allocations: 168 kB / 23.96 MB, free: 4.145 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.564/1.564, allocations: 177.1 MB / 204.3 MB, free: 9.152 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.2679/0.2679, allocations: 34.28 MB / 295 MB, free: 14.54 MB / 286.1 MB " [Timeout remaining time 179] 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.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.948e-06/3.948e-06, allocations: 4 kB / 442.8 MB, free: 5.281 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.38e-05/3.775e-05, allocations: 6.219 kB / 442.8 MB, free: 5.273 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.003566/0.003604, allocations: 1.742 MB / 444.5 MB, free: 3.52 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001979/0.005583, allocations: 0.9742 MB / 445.5 MB, free: 2.539 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.122e-05/0.005674, allocations: 4 kB / 445.5 MB, free: 2.535 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003726/0.006047, allocations: 87.62 kB / 445.6 MB, free: 2.449 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000389/0.006436, allocations: 119.5 kB / 445.7 MB, free: 2.332 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002203/0.006656, allocations: 87.53 kB / 445.8 MB, free: 2.246 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002267/0.006883, allocations: 123.7 kB / 445.9 MB, free: 2.125 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.006987, allocations: 7.938 kB / 445.9 MB, free: 2.117 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001284/0.007116, allocations: 79.73 kB / 446 MB, free: 2.039 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001426/0.007258, allocations: 67.86 kB / 446.1 MB, free: 1.973 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.685e-05/0.007285, allocations: 4 kB / 446.1 MB, free: 1.969 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001412/0.007426, allocations: 55.92 kB / 446.1 MB, free: 1.914 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.451e-05/0.007511, allocations: 31.84 kB / 446.1 MB, free: 1.883 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.961e-05/0.00757, allocations: 19.92 kB / 446.2 MB, free: 1.863 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002812/0.007852, allocations: 143.5 kB / 446.3 MB, free: 1.723 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.007856, allocations: 0 / 446.3 MB, free: 1.723 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.007857, allocations: 0 / 446.3 MB, free: 1.723 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.007862, allocations: 0 / 446.3 MB, free: 1.723 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006814/0.008543, allocations: 373.3 kB / 446.7 MB, free: 1.328 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.322e-05/0.008597, allocations: 12.03 kB / 446.7 MB, free: 1.316 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.113e-05/0.008658, allocations: 12.84 kB / 446.7 MB, free: 1.305 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002787/0.008936, allocations: 154.4 kB / 446.8 MB, free: 1.125 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.008953, allocations: 4.375 kB / 446.9 MB, free: 1.121 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.551e-05/0.008979, allocations: 4.375 kB / 446.9 MB, free: 1.117 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001824/0.009161, allocations: 58.22 kB / 446.9 MB, free: 1.055 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/0.00918, allocations: 7.938 kB / 446.9 MB, free: 1.047 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.009195, allocations: 4 kB / 446.9 MB, free: 1.043 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.009201, allocations: 0 / 446.9 MB, free: 1.043 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.208e-05/0.009293, allocations: 27.92 kB / 447 MB, free: 1.016 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004237/0.009716, allocations: 252.4 kB / 447.2 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002793/0.009996, allocations: 58.48 kB / 447.3 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.65e-05/0.01006, allocations: 20.98 kB / 447.3 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.01009, allocations: 7.922 kB / 447.3 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001814/0.01027, allocations: 71.38 kB / 447.4 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.884e-06/0.01027, allocations: 0 / 447.4 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009164/0.01119, allocations: 257.9 kB / 447.6 MB, free: 308 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.468e-05/0.01124, allocations: 55.41 kB / 447.7 MB, free: 240 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2449/0.2561, allocations: 234.8 kB / 447.9 MB, free: 19.34 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.775e-05/0.2561, allocations: 30.8 kB / 447.9 MB, free: 19.3 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.365e-05/0.2562, allocations: 106.2 kB / 448 MB, free: 19.22 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.262e-05/0.2563, allocations: 39.56 kB / 448.1 MB, free: 19.22 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.376e-05/0.2563, allocations: 31.64 kB / 448.1 MB, free: 19.21 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.422e-05/0.2564, allocations: 329.5 kB / 448.4 MB, free: 18.89 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/0.2565, allocations: 27.12 kB / 448.4 MB, free: 18.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.807e-05/0.2566, allocations: 47.75 kB / 448.5 MB, free: 18.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/0.2568, allocations: 86.8 kB / 448.6 MB, free: 18.86 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.572e-06/0.2568, allocations: 0 / 448.6 MB, free: 18.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002574/0.257, allocations: 128.2 kB / 448.7 MB, free: 18.83 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.257, allocations: 9.359 kB / 448.7 MB, free: 18.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.257, allocations: 4.062 kB / 448.7 MB, free: 18.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/0.2571, allocations: 5 kB / 448.7 MB, free: 18.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.728e-05/0.2572, allocations: 22.61 kB / 448.7 MB, free: 18.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.2572, allocations: 1.125 kB / 448.7 MB, free: 18.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.804e-05/0.2572, allocations: 3.047 kB / 448.7 MB, free: 18.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.2572, allocations: 8.453 kB / 448.7 MB, free: 18.83 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 (13): * Single equations (assignments): 13 * 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 9.194e-05/0.2573, allocations: 132.1 kB / 448.9 MB, free: 18.72 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.813e-05/0.2574, allocations: 25.41 kB / 448.9 MB, free: 18.71 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003266/0.2577, allocations: 157.9 kB / 449.1 MB, free: 18.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.72e-06/0.2577, allocations: 5.031 kB / 449.1 MB, free: 18.67 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.2577, allocations: 0.7031 kB / 449.1 MB, free: 18.67 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.2577, allocations: 1.734 kB / 449.1 MB, free: 18.67 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005177/0.2582, allocations: 402.9 kB / 449.5 MB, free: 18.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.2582, allocations: 1.25 kB / 449.5 MB, free: 18.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.512e-05/0.2583, allocations: 14.69 kB / 449.5 MB, free: 18.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.2583, allocations: 2.719 kB / 449.5 MB, free: 18.38 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.2583, allocations: 3.031 kB / 449.5 MB, free: 18.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.2583, allocations: 4.812 kB / 449.5 MB, free: 18.38 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.247e-06/0.2583, allocations: 1.953 kB / 449.5 MB, free: 18.38 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002664/0.2586, allocations: 253.6 kB / 449.7 MB, free: 18.19 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.267e-05/0.2586, allocations: 13.59 kB / 449.7 MB, free: 18.18 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.02e-05/0.2586, allocations: 7.281 kB / 449.8 MB, free: 18.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.095e-05/0.2587, allocations: 3.641 kB / 449.8 MB, free: 18.18 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.603e-05/0.2587, allocations: 10 kB / 449.8 MB, free: 18.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-05/0.2588, allocations: 9.094 kB / 449.8 MB, free: 18.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001501/0.2589, allocations: 173.3 kB / 449.9 MB, free: 18.08 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2589, allocations: 3.812 kB / 449.9 MB, free: 18.08 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002928/0.2592, allocations: 33.95 kB / 450 MB, free: 18.07 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 (12): * Single equations (assignments): 10 * 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.002137/0.2613, allocations: 0.5484 MB / 450.5 MB, free: 17.9 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002404/0.2616, allocations: 81.98 kB / 450.6 MB, free: 17.88 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2616, allocations: 1.094 kB / 450.6 MB, free: 17.88 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.369e-05/0.2617, allocations: 39.08 kB / 450.6 MB, free: 17.86 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003786/0.2621, allocations: 38.78 kB / 450.7 MB, free: 17.85 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005179/0.2626, allocations: 285.2 kB / 451 MB, free: 17.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.035e-05/0.2627, allocations: 113.6 kB / 451.1 MB, free: 17.57 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.728e-05/0.2627, allocations: 14.77 kB / 451.1 MB, free: 17.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.353e-05/0.2628, allocations: 19.77 kB / 451.1 MB, free: 17.56 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2628, allocations: 0 / 451.1 MB, free: 17.56 MB / 366.1 MB Notification: Performance of Templates: time 0.006388/0.2692, allocations: 2.094 MB / 453.2 MB, free: 17.3 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.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.247503809630871]