Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.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.0009377/0.0009377, allocations: 81.97 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.001056/0.001056, allocations: 165.9 kB / 25.61 MB, free: 8.59 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.9802/0.9802, allocations: 177.1 MB / 206.1 MB, free: 4.5 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.1436/0.1436, allocations: 32.8 MB / 295.4 MB, free: 15.39 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.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 377.3 MB, free: 25.53 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.2e-05/2.346e-05, allocations: 2.312 kB / 377.3 MB, free: 25.52 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.002041/0.002064, allocations: 1.746 MB / 379.1 MB, free: 23.76 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001086/0.003151, allocations: 0.9975 MB / 380.1 MB, free: 22.76 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.835e-05/0.003219, allocations: 0 / 380.1 MB, free: 22.76 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002658/0.003485, allocations: 43.7 kB / 380.1 MB, free: 22.71 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002244/0.003709, allocations: 95.47 kB / 380.2 MB, free: 22.62 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001322/0.003841, allocations: 83.61 kB / 380.3 MB, free: 22.54 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001213/0.003963, allocations: 115.6 kB / 380.4 MB, free: 22.43 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.762e-05/0.00404, allocations: 4 kB / 380.4 MB, free: 22.42 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.024e-05/0.00411, allocations: 55.78 kB / 380.5 MB, free: 22.37 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.372e-05/0.004174, allocations: 31.89 kB / 380.5 MB, free: 22.34 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.004188, allocations: 4 kB / 380.5 MB, free: 22.33 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.502e-05/0.004253, allocations: 43.92 kB / 380.6 MB, free: 22.29 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.974e-05/0.004292, allocations: 23.91 kB / 380.6 MB, free: 22.27 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.796e-05/0.00432, allocations: 15.94 kB / 380.6 MB, free: 22.25 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001413/0.004462, allocations: 111.5 kB / 380.7 MB, free: 22.14 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.004464, allocations: 0 / 380.7 MB, free: 22.14 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.004465, allocations: 0 / 380.7 MB, free: 22.14 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.476e-06/0.004468, allocations: 4 kB / 380.7 MB, free: 22.14 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.0003066/0.004775, allocations: 455.8 kB / 381.2 MB, free: 21.66 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.023e-05/0.004805, allocations: 11.98 kB / 381.2 MB, free: 21.64 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.02e-05/0.004835, allocations: 16.84 kB / 381.2 MB, free: 21.63 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.004946, allocations: 160.4 kB / 381.3 MB, free: 21.45 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.004959, allocations: 384 / 381.3 MB, free: 21.45 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.459e-05/0.004974, allocations: 4.375 kB / 381.3 MB, free: 21.44 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.122e-05/0.005055, allocations: 62.88 kB / 381.4 MB, free: 21.37 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.005064, allocations: 7.938 kB / 381.4 MB, free: 21.36 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.232e-06/0.00507, allocations: 0 / 381.4 MB, free: 21.36 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.005073, allocations: 8 kB / 381.4 MB, free: 21.36 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.386e-05/0.005097, allocations: 7.984 kB / 381.4 MB, free: 21.35 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001794/0.005277, allocations: 252.5 kB / 381.7 MB, free: 21.07 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.718e-05/0.005364, allocations: 59.03 kB / 381.7 MB, free: 21 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.877e-05/0.005383, allocations: 15.67 kB / 381.7 MB, free: 20.98 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.114e-05/0.005394, allocations: 4 kB / 381.8 MB, free: 20.98 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.283e-05/0.005467, allocations: 68.98 kB / 381.8 MB, free: 20.9 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 9.12e-07/0.005467, allocations: 0 / 381.8 MB, free: 20.9 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002639/0.005731, allocations: 137.5 kB / 382 MB, free: 20.76 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.92e-05/0.005751, allocations: 51.41 kB / 382 MB, free: 20.7 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.234e-05/0.005833, allocations: 246.2 kB / 382.2 MB, free: 20.44 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.646e-06/0.005842, allocations: 29.7 kB / 382.3 MB, free: 20.4 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.306e-05/0.005875, allocations: 150.8 kB / 382.4 MB, free: 20.25 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.487e-05/0.0059, allocations: 23.84 kB / 382.4 MB, free: 20.23 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.703e-05/0.005927, allocations: 31.36 kB / 382.5 MB, free: 20.19 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.723e-05/0.005974, allocations: 0.4962 MB / 383 MB, free: 19.68 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.415e-05/0.005988, allocations: 11.98 kB / 383 MB, free: 19.67 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.157e-05/0.006009, allocations: 27.31 kB / 383 MB, free: 19.63 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.828e-05/0.006048, allocations: 55.34 kB / 383.1 MB, free: 19.57 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.006049, allocations: 0 / 383.1 MB, free: 19.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.206e-05/0.006131, allocations: 85.47 kB / 383.1 MB, free: 19.48 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.669e-06/0.00614, allocations: 8 kB / 383.2 MB, free: 19.47 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.006145, allocations: 0 / 383.2 MB, free: 19.47 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.394e-06/0.006152, allocations: 0 / 383.2 MB, free: 19.47 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.006e-05/0.006212, allocations: 19.98 kB / 383.2 MB, free: 19.45 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.875e-06/0.006215, allocations: 4 kB / 383.2 MB, free: 19.45 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.314e-05/0.006248, allocations: 0 / 383.2 MB, free: 19.45 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-06/0.006254, allocations: 8.031 kB / 383.2 MB, free: 19.44 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.065e-05/0.006305, allocations: 168.5 kB / 383.4 MB, free: 19.27 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.483e-05/0.00632, allocations: 19.88 kB / 383.4 MB, free: 19.25 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001119/0.006432, allocations: 99.22 kB / 383.5 MB, free: 19.14 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.006433, allocations: 0 / 383.5 MB, free: 19.14 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.006435, allocations: 384 / 383.5 MB, free: 19.14 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.006439, allocations: 3.984 kB / 383.5 MB, free: 19.14 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001892/0.006628, allocations: 369.5 kB / 383.8 MB, free: 18.74 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.00663, allocations: 4 kB / 383.8 MB, free: 18.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.244e-05/0.006652, allocations: 8 kB / 383.8 MB, free: 18.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.006655, allocations: 12.02 kB / 383.9 MB, free: 18.71 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.581e-06/0.006661, allocations: 4 kB / 383.9 MB, free: 18.71 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.006662, allocations: 3.938 kB / 383.9 MB, free: 18.71 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.006663, allocations: 0 / 383.9 MB, free: 18.71 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.885e-05/0.006752, allocations: 255.4 kB / 384.1 MB, free: 18.43 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.078e-05/0.006763, allocations: 11.94 kB / 384.1 MB, free: 18.42 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.006777, allocations: 0 / 384.1 MB, free: 18.42 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.408e-05/0.006821, allocations: 8 kB / 384.1 MB, free: 18.41 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.416e-05/0.006845, allocations: 7.984 kB / 384.1 MB, free: 18.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.006855, allocations: 0 / 384.1 MB, free: 18.41 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.192e-05/0.006897, allocations: 180.2 kB / 384.3 MB, free: 18.23 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006897, allocations: 0 / 384.3 MB, free: 18.23 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001641/0.007061, allocations: 20 kB / 384.3 MB, free: 18.21 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.0009008/0.007962, allocations: 436.5 kB / 384.8 MB, free: 17.96 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.977e-05/0.008052, allocations: 51.53 kB / 384.8 MB, free: 17.9 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.008053, allocations: 0 / 384.8 MB, free: 17.9 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.935e-05/0.008083, allocations: 31.66 kB / 384.8 MB, free: 17.87 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002268/0.00831, allocations: 39.19 kB / 384.9 MB, free: 17.83 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002639/0.008573, allocations: 231.7 kB / 385.1 MB, free: 17.57 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.488e-05/0.008598, allocations: 67.2 kB / 385.2 MB, free: 17.49 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.177e-05/0.00863, allocations: 24.95 kB / 385.2 MB, free: 17.46 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.334e-05/0.008683, allocations: 90.19 kB / 385.3 MB, free: 17.37 MB / 314.7 MB Notification: Performance of SimCode: time 7.41e-07/0.008684, allocations: 0 / 385.3 MB, free: 17.37 MB / 314.7 MB Notification: Performance of Templates: time 0.003183/0.01187, allocations: 2.053 MB / 387.3 MB, free: 15.35 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.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.2359251622110605]