Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.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.000989/0.000989, 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.001212/0.001212, allocations: 167.1 kB / 25.61 MB, free: 8.598 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.944/0.944, allocations: 177.1 MB / 206 MB, free: 4.48 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.1713/0.1713, allocations: 32.8 MB / 295.4 MB, free: 15.37 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.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 377.3 MB, free: 25.51 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.201e-05/2.359e-05, allocations: 10.08 kB / 377.3 MB, free: 25.5 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.002125/0.002148, allocations: 1.747 MB / 379.1 MB, free: 23.74 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001086/0.003235, allocations: 1 MB / 380.1 MB, free: 22.74 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.321e-05/0.003308, allocations: 0 / 380.1 MB, free: 22.74 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002773/0.003585, allocations: 55.75 kB / 380.2 MB, free: 22.68 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002814/0.003866, allocations: 107.4 kB / 380.3 MB, free: 22.58 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001849/0.004051, allocations: 79.61 kB / 380.3 MB, free: 22.5 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001393/0.004191, allocations: 107.7 kB / 380.4 MB, free: 22.39 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.599e-05/0.004277, allocations: 7.984 kB / 380.4 MB, free: 22.39 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.57e-05/0.004352, allocations: 55.78 kB / 380.5 MB, free: 22.33 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.656e-05/0.004419, allocations: 27.91 kB / 380.5 MB, free: 22.3 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.004433, allocations: 4 kB / 380.5 MB, free: 22.3 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.025e-05/0.004503, allocations: 43.92 kB / 380.6 MB, free: 22.26 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.983e-05/0.004553, allocations: 39.83 kB / 380.6 MB, free: 22.22 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.272e-05/0.004585, allocations: 19.88 kB / 380.6 MB, free: 22.2 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001684/0.004754, allocations: 107.7 kB / 380.7 MB, free: 22.09 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.004756, allocations: 3.984 kB / 380.7 MB, free: 22.09 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.004757, allocations: 0 / 380.7 MB, free: 22.09 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.004762, allocations: 0 / 380.7 MB, free: 22.09 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003502/0.005113, allocations: 487.5 kB / 381.2 MB, free: 21.58 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.016e-05/0.005143, allocations: 15.98 kB / 381.2 MB, free: 21.56 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.339e-05/0.005176, allocations: 16.84 kB / 381.2 MB, free: 21.55 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.005308, allocations: 157.3 kB / 381.4 MB, free: 21.36 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.005326, allocations: 8.375 kB / 381.4 MB, free: 21.36 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.686e-05/0.005343, allocations: 4.375 kB / 381.4 MB, free: 21.35 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.468e-05/0.005438, allocations: 62.94 kB / 381.5 MB, free: 21.28 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.005447, allocations: 3.938 kB / 381.5 MB, free: 21.28 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.402e-06/0.005453, allocations: 3.984 kB / 381.5 MB, free: 21.27 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.005458, allocations: 0 / 381.5 MB, free: 21.27 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.829e-05/0.005486, allocations: 15.94 kB / 381.5 MB, free: 21.26 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002101/0.005696, allocations: 272.3 kB / 381.8 MB, free: 20.96 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.013e-05/0.005776, allocations: 43.17 kB / 381.8 MB, free: 20.91 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.054e-05/0.005797, allocations: 19.69 kB / 381.8 MB, free: 20.89 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.909e-06/0.005807, allocations: 0 / 381.8 MB, free: 20.89 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.228e-05/0.005889, allocations: 72.91 kB / 381.9 MB, free: 20.8 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 9.82e-07/0.00589, allocations: 0 / 381.9 MB, free: 20.8 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002898/0.00618, allocations: 137.4 kB / 382 MB, free: 20.66 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.395e-05/0.006204, allocations: 55.41 kB / 382.1 MB, free: 20.59 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.006308, allocations: 274.6 kB / 382.4 MB, free: 20.31 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.428e-06/0.006318, allocations: 25.7 kB / 382.4 MB, free: 20.28 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.915e-05/0.006367, allocations: 166.8 kB / 382.5 MB, free: 20.11 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.821e-05/0.006395, allocations: 27.78 kB / 382.6 MB, free: 20.08 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.696e-05/0.006432, allocations: 31.36 kB / 382.6 MB, free: 20.04 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.933e-05/0.006501, allocations: 0.5079 MB / 383.1 MB, free: 19.52 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.926e-05/0.006521, allocations: 8 kB / 383.1 MB, free: 19.52 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.721e-05/0.006548, allocations: 27.36 kB / 383.1 MB, free: 19.48 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.156e-05/0.006599, allocations: 47.3 kB / 383.2 MB, free: 19.43 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.006601, allocations: 4 kB / 383.2 MB, free: 19.42 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001183/0.006719, allocations: 97.41 kB / 383.3 MB, free: 19.32 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.006736, allocations: 8 kB / 383.3 MB, free: 19.31 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.006744, allocations: 0 / 383.3 MB, free: 19.31 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.006758, allocations: 0 / 383.3 MB, free: 19.31 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.664e-05/0.006834, allocations: 12 kB / 383.3 MB, free: 19.3 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.317e-06/0.006837, allocations: 7.938 kB / 383.3 MB, free: 19.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.53e-05/0.006873, allocations: 3.984 kB / 383.3 MB, free: 19.29 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.006881, allocations: 8.359 kB / 383.3 MB, free: 19.28 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 (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 6.473e-05/0.006946, allocations: 164.6 kB / 383.5 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.597e-05/0.006962, allocations: 19.84 kB / 383.5 MB, free: 19.09 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001172/0.007079, allocations: 107.2 kB / 383.6 MB, free: 18.98 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.007081, allocations: 0 / 383.6 MB, free: 18.98 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.275e-06/0.007084, allocations: 8 kB / 383.6 MB, free: 18.97 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.007087, allocations: 0 / 383.6 MB, free: 18.97 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002059/0.007293, allocations: 365.6 kB / 384 MB, free: 18.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.007295, allocations: 4 kB / 384 MB, free: 18.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.597e-05/0.007321, allocations: 11.94 kB / 384 MB, free: 18.56 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.572e-06/0.007323, allocations: 0 / 384 MB, free: 18.56 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.007328, allocations: 8.031 kB / 384 MB, free: 18.55 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.00733, allocations: 7.984 kB / 384 MB, free: 18.54 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.007331, allocations: 0 / 384 MB, free: 18.54 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001021/0.007433, allocations: 259.4 kB / 384.3 MB, free: 18.27 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.27e-05/0.007446, allocations: 11.91 kB / 384.3 MB, free: 18.25 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.478e-05/0.00746, allocations: 0 / 384.3 MB, free: 18.25 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.961e-05/0.0075, allocations: 8 kB / 384.3 MB, free: 18.25 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.498e-05/0.007525, allocations: 7.984 kB / 384.3 MB, free: 18.24 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.007537, allocations: 0 / 384.3 MB, free: 18.24 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.09e-05/0.007598, allocations: 188.5 kB / 384.5 MB, free: 18.05 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007598, allocations: 0 / 384.5 MB, free: 18.05 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001663/0.007764, allocations: 31.92 kB / 384.5 MB, free: 18.02 MB / 314.7 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.0009357/0.0087, allocations: 429.2 kB / 384.9 MB, free: 17.78 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001321/0.008832, allocations: 51.53 kB / 385 MB, free: 17.72 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.008834, allocations: 0 / 385 MB, free: 17.72 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.849e-05/0.008872, allocations: 35.61 kB / 385 MB, free: 17.68 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002597/0.009132, allocations: 52.23 kB / 385.1 MB, free: 17.64 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003885/0.00952, allocations: 264.5 kB / 385.3 MB, free: 17.35 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.896e-05/0.009559, allocations: 75.19 kB / 385.4 MB, free: 17.25 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.635e-05/0.009596, allocations: 16.95 kB / 385.4 MB, free: 17.24 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.335e-05/0.009659, allocations: 94.19 kB / 385.5 MB, free: 17.14 MB / 314.7 MB Notification: Performance of SimCode: time 4.41e-07/0.009659, allocations: 0 / 385.5 MB, free: 17.14 MB / 314.7 MB Notification: Performance of Templates: time 0.003614/0.01327, allocations: 2.071 MB / 387.6 MB, free: 15.11 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.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.18248327774927]