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.0008487/0.0008487, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.000957/0.000957, allocations: 170.9 kB / 24.92 MB, free: 8.68 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 1.011/1.011, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.2655/0.2655, allocations: 32.81 MB / 294.6 MB, free: 1.258 MB / 266.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.232e-06/1.232e-06, allocations: 0 / 323.3 MB, free: 9.625 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.295e-05/2.419e-05, allocations: 4.172 kB / 323.3 MB, free: 9.621 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.002673/0.002697, allocations: 1.759 MB / 325.1 MB, free: 7.852 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001477/0.004174, allocations: 1.005 MB / 326.1 MB, free: 6.84 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.772e-05/0.004252, allocations: 0 / 326.1 MB, free: 6.84 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002787/0.004531, allocations: 51.69 kB / 326.1 MB, free: 6.789 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003121/0.004843, allocations: 103.5 kB / 326.2 MB, free: 6.688 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002275/0.00507, allocations: 83.66 kB / 326.3 MB, free: 6.605 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001584/0.005229, allocations: 103.6 kB / 326.4 MB, free: 6.504 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.557e-05/0.005304, allocations: 13.38 kB / 326.4 MB, free: 6.492 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.881e-05/0.005403, allocations: 59.75 kB / 326.5 MB, free: 6.434 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.943e-05/0.005472, allocations: 23.92 kB / 326.5 MB, free: 6.41 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.005487, allocations: 4 kB / 326.5 MB, free: 6.406 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.898e-05/0.005576, allocations: 47.91 kB / 326.6 MB, free: 6.359 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.117e-05/0.005627, allocations: 31.86 kB / 326.6 MB, free: 6.328 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.509e-05/0.005662, allocations: 19.92 kB / 326.6 MB, free: 6.309 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001816/0.005844, allocations: 107.6 kB / 326.7 MB, free: 6.203 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.005847, allocations: 0 / 326.7 MB, free: 6.203 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.005847, allocations: 0 / 326.7 MB, free: 6.203 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.276e-06/0.005851, allocations: 0 / 326.7 MB, free: 6.203 MB / 298.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.0004035/0.006254, allocations: 361.1 kB / 327.1 MB, free: 5.828 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.006287, allocations: 15.97 kB / 327.1 MB, free: 5.812 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.212e-05/0.006319, allocations: 4.938 kB / 327.1 MB, free: 5.809 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001732/0.006492, allocations: 166.4 kB / 327.2 MB, free: 5.617 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.006507, allocations: 4.375 kB / 327.3 MB, free: 5.613 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.089e-05/0.006528, allocations: 8.359 kB / 327.3 MB, free: 5.605 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.822e-05/0.006626, allocations: 61.77 kB / 327.3 MB, free: 5.535 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.006635, allocations: 3.938 kB / 327.3 MB, free: 5.531 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.781e-06/0.006641, allocations: 0 / 327.3 MB, free: 5.531 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.006647, allocations: 4 kB / 327.3 MB, free: 5.527 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.316e-05/0.00667, allocations: 15.92 kB / 327.3 MB, free: 5.512 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001874/0.006858, allocations: 166 kB / 327.5 MB, free: 5.332 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001579/0.007016, allocations: 81.3 kB / 327.6 MB, free: 5.242 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.894e-05/0.007035, allocations: 12.84 kB / 327.6 MB, free: 5.227 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.007048, allocations: 8.062 kB / 327.6 MB, free: 5.219 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.932e-05/0.007127, allocations: 66.14 kB / 327.7 MB, free: 5.141 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 9.82e-07/0.007128, allocations: 3.938 kB / 327.7 MB, free: 5.137 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002677/0.007396, allocations: 109.6 kB / 327.8 MB, free: 5.023 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.079e-05/0.007426, allocations: 59.34 kB / 327.8 MB, free: 4.953 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.007547, allocations: 213 kB / 328 MB, free: 4.73 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.007561, allocations: 29.69 kB / 328.1 MB, free: 4.695 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.134e-05/0.007593, allocations: 100.1 kB / 328.2 MB, free: 4.594 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/0.007617, allocations: 23.8 kB / 328.2 MB, free: 4.57 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.797e-05/0.007645, allocations: 29.69 kB / 328.2 MB, free: 4.535 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.38e-05/0.007719, allocations: 326.8 kB / 328.5 MB, free: 4.207 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.605e-05/0.007735, allocations: 10.83 kB / 328.6 MB, free: 4.195 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.262e-05/0.007757, allocations: 21.7 kB / 328.6 MB, free: 4.168 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.427e-05/0.007802, allocations: 56.52 kB / 328.6 MB, free: 4.105 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.007803, allocations: 0 / 328.6 MB, free: 4.105 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.556e-05/0.007878, allocations: 72.44 kB / 328.7 MB, free: 4.027 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.00789, allocations: 4 kB / 328.7 MB, free: 4.023 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.007894, allocations: 0 / 328.7 MB, free: 4.023 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.007905, allocations: 4 kB / 328.7 MB, free: 4.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.726e-05/0.007962, allocations: 19.92 kB / 328.7 MB, free: 4 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.675e-06/0.007965, allocations: 0 / 328.7 MB, free: 4 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.735e-05/0.007992, allocations: 4.375 kB / 328.7 MB, free: 3.996 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-06/0.007997, allocations: 3.938 kB / 328.7 MB, free: 3.992 MB / 298.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.799e-05/0.008065, allocations: 124.7 kB / 328.9 MB, free: 3.859 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.011e-05/0.008085, allocations: 11.94 kB / 328.9 MB, free: 3.848 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001468/0.008232, allocations: 79.06 kB / 328.9 MB, free: 3.762 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.008235, allocations: 0 / 328.9 MB, free: 3.762 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.008238, allocations: 8 kB / 329 MB, free: 3.754 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.008241, allocations: 0 / 329 MB, free: 3.754 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002896/0.008531, allocations: 303.4 kB / 329.3 MB, free: 3.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.008533, allocations: 0 / 329.3 MB, free: 3.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.723e-05/0.00857, allocations: 8 kB / 329.3 MB, free: 3.422 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.008574, allocations: 8.031 kB / 329.3 MB, free: 3.414 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.008581, allocations: 0 / 329.3 MB, free: 3.414 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.008585, allocations: 3.984 kB / 329.3 MB, free: 3.41 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.562e-06/0.008586, allocations: 0 / 329.3 MB, free: 3.41 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001238/0.00871, allocations: 223 kB / 329.5 MB, free: 3.172 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.533e-05/0.008725, allocations: 11.91 kB / 329.5 MB, free: 3.16 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/0.008741, allocations: 4 kB / 329.5 MB, free: 3.156 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.966e-05/0.008791, allocations: 3.984 kB / 329.5 MB, free: 3.152 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.726e-05/0.008818, allocations: 8 kB / 329.5 MB, free: 3.145 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.008832, allocations: 3.984 kB / 329.5 MB, free: 3.141 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.931e-05/0.008891, allocations: 76.78 kB / 329.6 MB, free: 3.062 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008891, allocations: 4 kB / 329.6 MB, free: 3.059 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001465/0.009038, allocations: 31.92 kB / 329.6 MB, free: 3.027 MB / 298.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.001215/0.01025, allocations: 0.5827 MB / 330.2 MB, free: 2.75 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.335e-05/0.01034, allocations: 40.78 kB / 330.3 MB, free: 2.707 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.01034, allocations: 0 / 330.3 MB, free: 2.707 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.778e-05/0.01037, allocations: 24.84 kB / 330.3 MB, free: 2.68 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001721/0.01054, allocations: 35.67 kB / 330.3 MB, free: 2.648 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003255/0.01086, allocations: 268.2 kB / 330.6 MB, free: 2.355 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.951e-05/0.0109, allocations: 75.27 kB / 330.6 MB, free: 2.262 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.522e-05/0.01094, allocations: 21.09 kB / 330.7 MB, free: 2.242 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.126e-05/0.011, allocations: 67.36 kB / 330.7 MB, free: 2.176 MB / 298.7 MB Notification: Performance of SimCode: time 7.61e-07/0.011, allocations: 0 / 330.7 MB, free: 2.176 MB / 298.7 MB Notification: Performance of Templates: time 0.003761/0.01476, allocations: 2.043 MB / 332.8 MB, free: 168 kB / 298.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: 2.920679548289627]