Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.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.001319/0.001319, allocations: 84.7 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.001454/0.001454, allocations: 166.5 kB / 23.95 MB, free: 4.16 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.556/1.556, allocations: 177.1 MB / 204.3 MB, free: 9.18 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.2941/0.2941, allocations: 34.28 MB / 295 MB, free: 14.57 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.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.02e-07/9.02e-07, allocations: 0 / 442.8 MB, free: 5.316 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.368e-05/2.458e-05, allocations: 6.281 kB / 442.8 MB, free: 5.309 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.003153/0.003178, allocations: 1.712 MB / 444.5 MB, free: 3.582 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002149/0.005327, allocations: 0.9704 MB / 445.5 MB, free: 2.605 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.475e-05/0.005392, allocations: 4 kB / 445.5 MB, free: 2.602 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002022/0.005594, allocations: 39.7 kB / 445.5 MB, free: 2.562 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002827/0.005877, allocations: 99.53 kB / 445.6 MB, free: 2.465 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001893/0.006066, allocations: 79.55 kB / 445.7 MB, free: 2.387 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001648/0.006231, allocations: 107.6 kB / 445.8 MB, free: 2.281 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.042e-05/0.006281, allocations: 4 kB / 445.8 MB, free: 2.277 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001232/0.006404, allocations: 63.75 kB / 445.8 MB, free: 2.215 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.471e-05/0.006469, allocations: 27.92 kB / 445.9 MB, free: 2.188 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.176e-05/0.006491, allocations: 4 kB / 445.9 MB, free: 2.184 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.893e-05/0.00658, allocations: 39.98 kB / 445.9 MB, free: 2.145 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.408e-05/0.006634, allocations: 23.91 kB / 445.9 MB, free: 2.121 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.432e-05/0.006678, allocations: 27.86 kB / 446 MB, free: 2.094 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002039/0.006882, allocations: 111.6 kB / 446.1 MB, free: 1.984 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.006885, allocations: 0 / 446.1 MB, free: 1.984 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.006886, allocations: 0 / 446.1 MB, free: 1.984 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.506e-06/0.00689, allocations: 0 / 446.1 MB, free: 1.984 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005497/0.00744, allocations: 349.5 kB / 446.4 MB, free: 1.613 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.526e-05/0.007465, allocations: 12.03 kB / 446.4 MB, free: 1.602 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.989e-05/0.007505, allocations: 16.84 kB / 446.4 MB, free: 1.586 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002077/0.007713, allocations: 150.3 kB / 446.6 MB, free: 1.414 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.007725, allocations: 4.375 kB / 446.6 MB, free: 1.41 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.221e-05/0.007738, allocations: 384 / 446.6 MB, free: 1.41 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.007868, allocations: 62.22 kB / 446.7 MB, free: 1.344 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.007882, allocations: 7.922 kB / 446.7 MB, free: 1.336 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.203e-06/0.007889, allocations: 0 / 446.7 MB, free: 1.336 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.007895, allocations: 0 / 446.7 MB, free: 1.336 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.093e-05/0.007975, allocations: 27.92 kB / 446.7 MB, free: 1.309 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003687/0.008344, allocations: 232.6 kB / 446.9 MB, free: 1.051 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001883/0.008532, allocations: 54.69 kB / 447 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.003e-05/0.008593, allocations: 24.78 kB / 447 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.719e-06/0.008602, allocations: 0 / 447 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001526/0.008755, allocations: 71.33 kB / 447.1 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.008756, allocations: 0 / 447.1 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005547/0.009311, allocations: 193.5 kB / 447.3 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.773e-05/0.009349, allocations: 51.41 kB / 447.3 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002167/0.009565, allocations: 210.2 kB / 447.5 MB, free: 416 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.542e-05/0.009591, allocations: 29.7 kB / 447.5 MB, free: 380 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.495e-05/0.009656, allocations: 104.1 kB / 447.6 MB, free: 272 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.593e-05/0.009682, allocations: 23.8 kB / 447.7 MB, free: 248 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.492e-05/0.009726, allocations: 25.7 kB / 447.7 MB, free: 216 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.2538/0.2635, allocations: 319.6 kB / 448 MB, free: 19.08 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000122/0.2636, allocations: 20.81 kB / 448 MB, free: 19.08 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.806e-05/0.2637, allocations: 36.16 kB / 448.1 MB, free: 19.06 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000131/0.2639, allocations: 63.28 kB / 448.1 MB, free: 19.05 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.2639, allocations: 0.8438 kB / 448.1 MB, free: 19.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002444/0.2641, allocations: 105.5 kB / 448.2 MB, free: 19.02 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.2641, allocations: 6.781 kB / 448.2 MB, free: 19.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.2641, allocations: 2.812 kB / 448.2 MB, free: 19.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.2641, allocations: 4.938 kB / 448.2 MB, free: 19.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.721e-05/0.2642, allocations: 18.86 kB / 448.3 MB, free: 19.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.2642, allocations: 4.844 kB / 448.3 MB, free: 19.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.64e-05/0.2643, allocations: 3.469 kB / 448.3 MB, free: 19.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.2643, allocations: 2.25 kB / 448.3 MB, free: 19.02 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 (10): * Single equations (assignments): 10 * 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.966e-05/0.2644, allocations: 126.4 kB / 448.4 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.809e-05/0.2644, allocations: 12.91 kB / 448.4 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002682/0.2647, allocations: 123.5 kB / 448.5 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.2647, allocations: 1.25 kB / 448.5 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.2647, allocations: 7.125 kB / 448.5 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.2647, allocations: 0.7969 kB / 448.5 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004281/0.2651, allocations: 348.3 kB / 448.9 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.2651, allocations: 1 kB / 448.9 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.238e-05/0.2652, allocations: 14.58 kB / 448.9 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.2652, allocations: 0.875 kB / 448.9 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.729e-06/0.2652, allocations: 5.719 kB / 448.9 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.2652, allocations: 5.828 kB / 448.9 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.2652, allocations: 1.062 kB / 448.9 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002225/0.2654, allocations: 214.2 kB / 449.1 MB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.869e-05/0.2654, allocations: 13.12 kB / 449.1 MB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.719e-05/0.2655, allocations: 10.94 kB / 449.1 MB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.448e-05/0.2655, allocations: 3.578 kB / 449.1 MB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.76e-05/0.2656, allocations: 8.969 kB / 449.1 MB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.2656, allocations: 6.172 kB / 449.1 MB, free: 18.47 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001146/0.2657, allocations: 154.4 kB / 449.3 MB, free: 18.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2657, allocations: 0 / 449.3 MB, free: 18.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002606/0.2659, allocations: 26.83 kB / 449.3 MB, free: 18.39 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * 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.001759/0.2677, allocations: 0.489 MB / 449.8 MB, free: 18.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001691/0.2679, allocations: 60.19 kB / 449.9 MB, free: 18.24 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.2679, allocations: 0 / 449.9 MB, free: 18.24 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.682e-05/0.268, allocations: 38.12 kB / 449.9 MB, free: 18.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003243/0.2683, allocations: 22.23 kB / 449.9 MB, free: 18.22 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003833/0.2687, allocations: 241 kB / 450.2 MB, free: 18.05 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.655e-05/0.2687, allocations: 93.66 kB / 450.3 MB, free: 17.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.178e-05/0.2688, allocations: 12.92 kB / 450.3 MB, free: 17.97 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.041e-05/0.2688, allocations: 17.67 kB / 450.3 MB, free: 17.96 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2688, allocations: 0 / 450.3 MB, free: 17.96 MB / 366.1 MB Notification: Performance of Templates: time 0.005948/0.2748, allocations: 1.854 MB / 452.1 MB, free: 17.72 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.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.336197800934315]