Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.001553/0.001553, allocations: 83.91 kB / 20.68 MB, free: 1.047 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.001781/0.001781, allocations: 167.6 kB / 23.96 MB, free: 4.18 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.515/1.515, allocations: 177.1 MB / 204.3 MB, free: 9.168 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.2109/0.2109, allocations: 34.29 MB / 295 MB, free: 14.56 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.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 442.8 MB, free: 5.305 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.788e-05/2.959e-05, allocations: 2.281 kB / 442.8 MB, free: 5.301 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003352/0.003381, allocations: 1.875 MB / 444.6 MB, free: 3.41 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002025/0.005407, allocations: 1.08 MB / 445.7 MB, free: 2.324 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.685e-05/0.005503, allocations: 4 kB / 445.7 MB, free: 2.32 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004113/0.005915, allocations: 159.4 kB / 445.9 MB, free: 2.164 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004606/0.006375, allocations: 183.2 kB / 446.1 MB, free: 1.984 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003021/0.006677, allocations: 131.5 kB / 446.2 MB, free: 1.855 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003304/0.007008, allocations: 247.2 kB / 446.4 MB, free: 1.613 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.007126, allocations: 21.94 kB / 446.5 MB, free: 1.59 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002058/0.007331, allocations: 131.6 kB / 446.6 MB, free: 1.461 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002255/0.007557, allocations: 131.7 kB / 446.7 MB, free: 1.332 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.766e-05/0.007595, allocations: 12 kB / 446.7 MB, free: 1.32 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001544/0.007749, allocations: 71.89 kB / 446.8 MB, free: 1.25 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.007851, allocations: 47.78 kB / 446.8 MB, free: 1.203 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.006e-05/0.007931, allocations: 51.78 kB / 446.9 MB, free: 1.152 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003654/0.008296, allocations: 219.2 kB / 447.1 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.0083, allocations: 0 / 447.1 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.008301, allocations: 0 / 447.1 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.355e-06/0.008309, allocations: 3.984 kB / 447.1 MB, free: 0.9336 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.00082/0.009129, allocations: 480.5 kB / 447.6 MB, free: 444 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.009167, allocations: 12.03 kB / 447.6 MB, free: 432 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.442e-05/0.009242, allocations: 32.73 kB / 447.6 MB, free: 400 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003322/0.009574, allocations: 209.8 kB / 447.8 MB, free: 164 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.009595, allocations: 4.375 kB / 447.8 MB, free: 160 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.549e-05/0.00963, allocations: 8.375 kB / 447.8 MB, free: 152 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002647/0.009895, allocations: 115.2 kB / 448 MB, free: 28 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.009911, allocations: 3.938 kB / 448 MB, free: 24 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.772e-05/0.009929, allocations: 8 kB / 448 MB, free: 16 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.009933, allocations: 0 / 448 MB, free: 16 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2481/0.258, allocations: 48.83 kB / 448 MB, free: 19.46 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000727/0.2588, allocations: 408.6 kB / 448.4 MB, free: 19.18 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004324/0.2592, allocations: 119.3 kB / 448.5 MB, free: 19.13 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001159/0.2593, allocations: 45.06 kB / 448.6 MB, free: 19.12 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/0.2593, allocations: 1.797 kB / 448.6 MB, free: 19.12 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002655/0.2596, allocations: 127.7 kB / 448.7 MB, free: 19.05 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 2.034e-06/0.2596, allocations: 0 / 448.7 MB, free: 19.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001502/0.2611, allocations: 0.498 MB / 449.2 MB, free: 18.95 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.962e-05/0.2612, allocations: 83.09 kB / 449.3 MB, free: 18.86 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004084/0.2616, allocations: 388.4 kB / 449.7 MB, free: 18.67 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.2616, allocations: 32.83 kB / 449.7 MB, free: 18.64 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.008e-05/0.2617, allocations: 145.2 kB / 449.8 MB, free: 18.51 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.544e-05/0.2617, allocations: 73 kB / 449.9 MB, free: 18.46 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.331e-05/0.2618, allocations: 41.75 kB / 449.9 MB, free: 18.44 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.125e-05/0.2619, allocations: 345.2 kB / 450.3 MB, free: 18.11 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001948/0.2621, allocations: 58 kB / 450.3 MB, free: 18.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001977/0.2623, allocations: 101.3 kB / 450.4 MB, free: 18.03 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002723/0.2625, allocations: 165.1 kB / 450.6 MB, free: 17.94 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.2625, allocations: 0 / 450.6 MB, free: 17.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004119/0.2629, allocations: 239.8 kB / 450.8 MB, free: 17.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.263, allocations: 5.734 kB / 450.8 MB, free: 17.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.263, allocations: 3.688 kB / 450.8 MB, free: 17.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.187e-05/0.263, allocations: 5.281 kB / 450.8 MB, free: 17.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000176/0.2632, allocations: 45.16 kB / 450.9 MB, free: 17.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.2632, allocations: 5.172 kB / 450.9 MB, free: 17.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.887e-05/0.2633, allocations: 18.11 kB / 450.9 MB, free: 17.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.2633, allocations: 10.73 kB / 450.9 MB, free: 17.82 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001405/0.2634, allocations: 157.6 kB / 451.1 MB, free: 17.68 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.85e-05/0.2635, allocations: 30.62 kB / 451.1 MB, free: 17.67 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005337/0.264, allocations: 270.4 kB / 451.4 MB, free: 17.56 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.264, allocations: 6.219 kB / 451.4 MB, free: 17.56 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.264, allocations: 1.375 kB / 451.4 MB, free: 17.56 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.264, allocations: 2.828 kB / 451.4 MB, free: 17.56 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000868/0.2649, allocations: 0.6636 MB / 452 MB, free: 17.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.2649, allocations: 1.156 kB / 452 MB, free: 17.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001042/0.265, allocations: 37.19 kB / 452.1 MB, free: 17.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/0.265, allocations: 7.344 kB / 452.1 MB, free: 17.1 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.272e-05/0.265, allocations: 10.06 kB / 452.1 MB, free: 17.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.265, allocations: 2.703 kB / 452.1 MB, free: 17.09 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.265, allocations: 1.312 kB / 452.1 MB, free: 17.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004951/0.2655, allocations: 439.5 kB / 452.5 MB, free: 16.78 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.762e-05/0.2656, allocations: 25.91 kB / 452.6 MB, free: 16.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.549e-05/0.2656, allocations: 8.875 kB / 452.6 MB, free: 16.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000146/0.2658, allocations: 19.06 kB / 452.6 MB, free: 16.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.75e-05/0.2658, allocations: 20.95 kB / 452.6 MB, free: 16.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-05/0.2659, allocations: 13.2 kB / 452.6 MB, free: 16.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003114/0.2662, allocations: 286.6 kB / 452.9 MB, free: 16.62 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2662, allocations: 0 / 452.9 MB, free: 16.62 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005945/0.2668, allocations: 52.11 kB / 452.9 MB, free: 16.61 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002901/0.2697, allocations: 0.5532 MB / 453.5 MB, free: 16.42 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005036/0.2702, allocations: 166 kB / 453.7 MB, free: 16.36 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.2702, allocations: 0 / 453.7 MB, free: 16.36 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002498/0.2704, allocations: 79.62 kB / 453.7 MB, free: 16.34 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008746/0.2713, allocations: 62.27 kB / 453.8 MB, free: 16.31 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/0.2726, allocations: 0.5116 MB / 454.3 MB, free: 16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002419/0.2728, allocations: 157.9 kB / 454.5 MB, free: 15.92 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001266/0.273, allocations: 39.23 kB / 454.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.411e-05/0.2731, allocations: 34.03 kB / 454.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2731, allocations: 0 / 454.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of Templates: time 0.009221/0.2823, allocations: 3.299 MB / 457.8 MB, free: 15.45 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.125901326537132]