Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.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.001573/0.001573, allocations: 80.31 kB / 22.21 MB, free: 2.285 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.001493/0.001493, allocations: 170.2 kB / 25.61 MB, free: 8.539 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.992/0.992, allocations: 177.1 MB / 206 MB, free: 4.492 MB / 186.7 MB " [Timeout remaining time 179] 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.1498/0.1498, allocations: 34.26 MB / 296.9 MB, free: 13.91 MB / 282.7 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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 379.4 MB, free: 23.32 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.452e-05/1.591e-05, allocations: 10.19 kB / 379.4 MB, free: 23.31 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.001837/0.001853, allocations: 1.707 MB / 381.1 MB, free: 21.59 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001017/0.002869, allocations: 0.9741 MB / 382.1 MB, free: 20.61 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.412e-05/0.002933, allocations: 3.938 kB / 382.1 MB, free: 20.61 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002657/0.003199, allocations: 59.8 kB / 382.1 MB, free: 20.55 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002436/0.003443, allocations: 115.4 kB / 382.2 MB, free: 20.44 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001617/0.003605, allocations: 79.61 kB / 382.3 MB, free: 20.36 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001356/0.00374, allocations: 107.7 kB / 382.4 MB, free: 20.25 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.272e-05/0.003783, allocations: 240 / 382.4 MB, free: 20.25 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.003883, allocations: 63.75 kB / 382.5 MB, free: 20.19 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.00399, allocations: 43.89 kB / 382.5 MB, free: 20.15 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.752e-05/0.004008, allocations: 4 kB / 382.5 MB, free: 20.14 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.969e-05/0.004077, allocations: 39.91 kB / 382.6 MB, free: 20.11 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.271e-05/0.00413, allocations: 19.94 kB / 382.6 MB, free: 20.09 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.3e-05/0.004163, allocations: 15.92 kB / 382.6 MB, free: 20.07 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001624/0.004325, allocations: 91.66 kB / 382.7 MB, free: 19.98 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.493e-06/0.004327, allocations: 3.938 kB / 382.7 MB, free: 19.98 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.004327, allocations: 0 / 382.7 MB, free: 19.98 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.004333, allocations: 0 / 382.7 MB, free: 19.98 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004161/0.004749, allocations: 439.9 kB / 383.1 MB, free: 19.51 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.004783, allocations: 8.031 kB / 383.1 MB, free: 19.5 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.301e-05/0.004816, allocations: 12.89 kB / 383.1 MB, free: 19.49 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.004932, allocations: 149.1 kB / 383.3 MB, free: 19.32 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.004945, allocations: 384 / 383.3 MB, free: 19.32 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.905e-06/0.004953, allocations: 4.375 kB / 383.3 MB, free: 19.32 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.183e-05/0.005035, allocations: 62.92 kB / 383.4 MB, free: 19.25 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.005043, allocations: 3.938 kB / 383.4 MB, free: 19.24 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.422e-06/0.005049, allocations: 4 kB / 383.4 MB, free: 19.24 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.005055, allocations: 0 / 383.4 MB, free: 19.24 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.045e-05/0.005075, allocations: 11.92 kB / 383.4 MB, free: 19.23 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.075e-05/0.005166, allocations: 113.2 kB / 383.5 MB, free: 19.09 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.951e-05/0.005245, allocations: 43.16 kB / 383.5 MB, free: 19.04 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.9e-05/0.005264, allocations: 19.67 kB / 383.5 MB, free: 19.01 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.517e-06/0.005274, allocations: 0 / 383.5 MB, free: 19.01 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.779e-05/0.005342, allocations: 68.98 kB / 383.6 MB, free: 18.93 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 8.41e-07/0.005343, allocations: 0 / 383.6 MB, free: 18.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001281/0.005471, allocations: 85.52 kB / 383.7 MB, free: 18.84 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.096e-05/0.005492, allocations: 59.34 kB / 383.8 MB, free: 18.77 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.981e-05/0.005571, allocations: 229.8 kB / 384 MB, free: 18.53 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.005586, allocations: 25.7 kB / 384 MB, free: 18.5 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.451e-05/0.00562, allocations: 146.9 kB / 384.1 MB, free: 18.35 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.518e-05/0.005646, allocations: 11.94 kB / 384.2 MB, free: 18.34 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.462e-05/0.00567, allocations: 31.36 kB / 384.2 MB, free: 18.3 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.149e-05/0.005722, allocations: 0.4923 MB / 384.7 MB, free: 17.79 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.209e-05/0.005734, allocations: 4 kB / 384.7 MB, free: 17.79 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.955e-05/0.005753, allocations: 35.28 kB / 384.7 MB, free: 17.75 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.243e-05/0.005786, allocations: 31.38 kB / 384.7 MB, free: 17.71 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.005787, allocations: 0 / 384.7 MB, free: 17.71 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.633e-05/0.005853, allocations: 77.84 kB / 384.8 MB, free: 17.62 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.937e-06/0.005862, allocations: 4 kB / 384.8 MB, free: 17.62 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.005866, allocations: 4 kB / 384.8 MB, free: 17.62 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.477e-06/0.005876, allocations: 7.969 kB / 384.8 MB, free: 17.61 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.945e-05/0.005925, allocations: 11.98 kB / 384.9 MB, free: 17.6 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.925e-06/0.005928, allocations: 4.156 kB / 384.9 MB, free: 17.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.622e-05/0.005955, allocations: 3.938 kB / 384.9 MB, free: 17.59 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.529e-06/0.005959, allocations: 4 kB / 384.9 MB, free: 17.59 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 (7): * Single equations (assignments): 7 * 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 4.51e-05/0.006004, allocations: 160.6 kB / 385 MB, free: 17.42 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.191e-05/0.006016, allocations: 15.84 kB / 385 MB, free: 17.4 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.429e-05/0.0061, allocations: 86.8 kB / 385.1 MB, free: 17.31 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.006103, allocations: 3.938 kB / 385.1 MB, free: 17.31 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-06/0.006104, allocations: 0 / 385.1 MB, free: 17.31 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.006107, allocations: 8 kB / 385.1 MB, free: 17.3 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.653e-05/0.006174, allocations: 117.2 kB / 385.2 MB, free: 17.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.006174, allocations: 0 / 385.2 MB, free: 17.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.372e-05/0.006188, allocations: 4 kB / 385.3 MB, free: 17.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.006189, allocations: 0 / 385.3 MB, free: 17.16 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.006195, allocations: 7.984 kB / 385.3 MB, free: 17.15 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.71e-07/0.006196, allocations: 0 / 385.3 MB, free: 17.15 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-06/0.006197, allocations: 0 / 385.3 MB, free: 17.15 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.404e-05/0.006271, allocations: 116.2 kB / 385.4 MB, free: 17.01 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.339e-05/0.006284, allocations: 15.94 kB / 385.4 MB, free: 17 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.0063, allocations: 0 / 385.4 MB, free: 17 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.85e-05/0.006318, allocations: 8 kB / 385.4 MB, free: 16.99 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.979e-05/0.006338, allocations: 7.922 kB / 385.4 MB, free: 16.98 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.828e-06/0.006348, allocations: 15.92 kB / 385.4 MB, free: 16.96 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.929e-05/0.006387, allocations: 159.1 kB / 385.6 MB, free: 16.81 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006387, allocations: 0 / 385.6 MB, free: 16.81 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001449/0.006532, allocations: 20 kB / 385.6 MB, free: 16.79 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0007152/0.007247, allocations: 386.8 kB / 386 MB, free: 16.54 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.437e-05/0.007322, allocations: 39.61 kB / 386 MB, free: 16.5 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.72e-07/0.007322, allocations: 0 / 386 MB, free: 16.5 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.059e-05/0.007343, allocations: 19.67 kB / 386 MB, free: 16.48 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001631/0.007506, allocations: 36.7 kB / 386.1 MB, free: 16.45 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002049/0.007711, allocations: 196 kB / 386.3 MB, free: 16.23 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.007e-05/0.007731, allocations: 79.2 kB / 386.3 MB, free: 16.13 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.458e-05/0.007756, allocations: 8.5 kB / 386.3 MB, free: 16.12 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.462e-05/0.0078, allocations: 86.19 kB / 386.4 MB, free: 16.04 MB / 314.7 MB Notification: Performance of SimCode: time 4.01e-07/0.007801, allocations: 0 / 386.4 MB, free: 16.04 MB / 314.7 MB Notification: Performance of Templates: time 0.002741/0.01054, allocations: 1.8 MB / 388.2 MB, free: 14.26 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.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.1751692360267043]