Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.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.001154/0.001154, allocations: 81.97 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.00136/0.00136, allocations: 162.8 kB / 25.61 MB, free: 8.902 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.048/1.048, allocations: 177.1 MB / 206 MB, free: 4.496 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.1579/0.1579, allocations: 32.81 MB / 295.4 MB, free: 15.38 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.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 3.938 kB / 377.4 MB, free: 25.51 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.727e-05/1.884e-05, allocations: 2.312 kB / 377.4 MB, free: 25.5 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.002464/0.002483, allocations: 1.747 MB / 379.1 MB, free: 23.74 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001057/0.00354, allocations: 0.9971 MB / 380.1 MB, free: 22.74 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.824e-05/0.003619, allocations: 3.938 kB / 380.1 MB, free: 22.74 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002921/0.003911, allocations: 43.75 kB / 380.1 MB, free: 22.7 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000305/0.004216, allocations: 99.47 kB / 380.2 MB, free: 22.6 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001816/0.004397, allocations: 83.59 kB / 380.3 MB, free: 22.52 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001499/0.004547, allocations: 107.6 kB / 380.4 MB, free: 22.41 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.885e-05/0.004636, allocations: 7.984 kB / 380.4 MB, free: 22.4 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.875e-05/0.004715, allocations: 55.83 kB / 380.5 MB, free: 22.35 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.299e-05/0.004788, allocations: 31.91 kB / 380.5 MB, free: 22.32 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.328e-05/0.004801, allocations: 4 kB / 380.5 MB, free: 22.31 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.142e-05/0.004873, allocations: 43.92 kB / 380.6 MB, free: 22.27 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.528e-05/0.004918, allocations: 23.91 kB / 380.6 MB, free: 22.25 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.035e-05/0.004948, allocations: 15.94 kB / 380.6 MB, free: 22.23 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001485/0.005097, allocations: 107.5 kB / 380.7 MB, free: 22.12 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.005099, allocations: 0 / 380.7 MB, free: 22.12 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.0051, allocations: 0 / 380.7 MB, free: 22.12 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.005105, allocations: 0 / 380.7 MB, free: 22.12 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.0003686/0.005473, allocations: 455.8 kB / 381.2 MB, free: 21.64 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.005515, allocations: 15.98 kB / 381.2 MB, free: 21.63 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.987e-05/0.005555, allocations: 16.84 kB / 381.2 MB, free: 21.61 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.005692, allocations: 160.4 kB / 381.3 MB, free: 21.43 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.005712, allocations: 8.359 kB / 381.4 MB, free: 21.42 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/0.00573, allocations: 4.312 kB / 381.4 MB, free: 21.42 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/0.005834, allocations: 62.94 kB / 381.4 MB, free: 21.35 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.005845, allocations: 3.938 kB / 381.4 MB, free: 21.34 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-06/0.005853, allocations: 0 / 381.4 MB, free: 21.34 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.005858, allocations: 0 / 381.4 MB, free: 21.34 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.781e-05/0.005886, allocations: 19.97 kB / 381.4 MB, free: 21.32 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002189/0.006105, allocations: 252.4 kB / 381.7 MB, free: 21.05 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.479e-05/0.00619, allocations: 55.11 kB / 381.7 MB, free: 20.98 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.107e-05/0.006211, allocations: 15.69 kB / 381.8 MB, free: 20.96 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.272e-05/0.006223, allocations: 3.938 kB / 381.8 MB, free: 20.96 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.817e-05/0.006302, allocations: 72.97 kB / 381.8 MB, free: 20.88 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 9.92e-07/0.006303, allocations: 0 / 381.8 MB, free: 20.88 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002995/0.006602, allocations: 133.5 kB / 382 MB, free: 20.74 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.074e-05/0.006623, allocations: 51.41 kB / 382 MB, free: 20.68 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.67e-05/0.00671, allocations: 250.2 kB / 382.3 MB, free: 20.41 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.596e-06/0.006718, allocations: 29.7 kB / 382.3 MB, free: 20.38 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.608e-05/0.006754, allocations: 154.8 kB / 382.4 MB, free: 20.22 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.12e-05/0.006775, allocations: 19.84 kB / 382.5 MB, free: 20.2 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.771e-05/0.006803, allocations: 31.36 kB / 382.5 MB, free: 20.16 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.524e-05/0.006858, allocations: 0.5 MB / 383 MB, free: 19.65 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.459e-05/0.006873, allocations: 8 kB / 383 MB, free: 19.64 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.222e-05/0.006895, allocations: 31.36 kB / 383 MB, free: 19.61 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.814e-05/0.006933, allocations: 47.34 kB / 383.1 MB, free: 19.55 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.006934, allocations: 0 / 383.1 MB, free: 19.55 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.357e-05/0.007018, allocations: 93.47 kB / 383.2 MB, free: 19.45 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.007029, allocations: 6.031 kB / 383.2 MB, free: 19.45 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.007033, allocations: 0 / 383.2 MB, free: 19.45 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.979e-06/0.007043, allocations: 4 kB / 383.2 MB, free: 19.45 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.662e-05/0.007099, allocations: 19.98 kB / 383.2 MB, free: 19.43 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.007103, allocations: 3.938 kB / 383.2 MB, free: 19.42 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.791e-05/0.007131, allocations: 4 kB / 383.2 MB, free: 19.42 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.007136, allocations: 0 / 383.2 MB, free: 19.42 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 5.649e-05/0.007193, allocations: 160.6 kB / 383.4 MB, free: 19.25 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.09e-05/0.007214, allocations: 15.89 kB / 383.4 MB, free: 19.23 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001681/0.007382, allocations: 107.2 kB / 383.5 MB, free: 19.12 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.007384, allocations: 0 / 383.5 MB, free: 19.12 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.007387, allocations: 0 / 383.5 MB, free: 19.12 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.007391, allocations: 0 / 383.5 MB, free: 19.12 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002571/0.007649, allocations: 373.5 kB / 383.8 MB, free: 18.72 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.00765, allocations: 384 / 383.8 MB, free: 18.72 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.621e-05/0.007676, allocations: 12 kB / 383.9 MB, free: 18.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.007679, allocations: 4 kB / 383.9 MB, free: 18.7 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.007686, allocations: 4 kB / 383.9 MB, free: 18.7 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.007688, allocations: 32 / 383.9 MB, free: 18.7 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.007691, allocations: 11.98 kB / 383.9 MB, free: 18.69 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001049/0.007795, allocations: 259.3 kB / 384.1 MB, free: 18.41 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.182e-05/0.007807, allocations: 7.953 kB / 384.1 MB, free: 18.4 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.007823, allocations: 4 kB / 384.1 MB, free: 18.4 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.19e-05/0.007865, allocations: 4 kB / 384.1 MB, free: 18.39 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.864e-05/0.007894, allocations: 7.984 kB / 384.2 MB, free: 18.39 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.007906, allocations: 4 kB / 384.2 MB, free: 18.38 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.963e-05/0.007955, allocations: 172.2 kB / 384.3 MB, free: 18.21 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.007955, allocations: 3.938 kB / 384.3 MB, free: 18.21 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001744/0.00813, allocations: 20 kB / 384.3 MB, free: 18.19 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.0009281/0.009058, allocations: 432.9 kB / 384.8 MB, free: 17.94 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.508e-05/0.009153, allocations: 55.52 kB / 384.8 MB, free: 17.88 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.009154, allocations: 0 / 384.8 MB, free: 17.88 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.909e-05/0.009183, allocations: 27.67 kB / 384.9 MB, free: 17.85 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002197/0.009403, allocations: 35.08 kB / 384.9 MB, free: 17.82 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002684/0.009672, allocations: 227.9 kB / 385.1 MB, free: 17.56 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.932e-05/0.009701, allocations: 75.2 kB / 385.2 MB, free: 17.47 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.337e-05/0.009734, allocations: 20.94 kB / 385.2 MB, free: 17.45 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.725e-05/0.009791, allocations: 90.19 kB / 385.3 MB, free: 17.36 MB / 314.7 MB Notification: Performance of SimCode: time 6.61e-07/0.009792, allocations: 0 / 385.3 MB, free: 17.36 MB / 314.7 MB Notification: Performance of Templates: time 0.003292/0.01308, allocations: 2.062 MB / 387.4 MB, free: 15.32 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.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.301830301992595]