Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.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.001434/0.001434, 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.001605/0.001605, allocations: 162.1 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 0.9903/0.9903, allocations: 177.1 MB / 206 MB, free: 4.504 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.1351/0.1351, allocations: 32.8 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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.183e-06/1.183e-06, allocations: 0 / 377.3 MB, free: 25.51 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.468e-06/1.065e-05, allocations: 2.312 kB / 377.3 MB, free: 25.51 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.001577/0.001588, allocations: 1.7 MB / 379 MB, free: 23.79 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008499/0.002438, allocations: 0.9815 MB / 380 MB, free: 22.81 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.65e-05/0.002494, allocations: 0 / 380 MB, free: 22.81 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002182/0.002712, allocations: 47.75 kB / 380.1 MB, free: 22.76 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002107/0.002923, allocations: 119.4 kB / 380.2 MB, free: 22.64 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001071/0.00303, allocations: 63.69 kB / 380.3 MB, free: 22.58 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001087/0.003139, allocations: 115.5 kB / 380.4 MB, free: 22.47 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.257e-05/0.003171, allocations: 8.234 kB / 380.4 MB, free: 22.46 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.24e-05/0.003244, allocations: 55.81 kB / 380.4 MB, free: 22.41 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.528e-05/0.003309, allocations: 35.91 kB / 380.5 MB, free: 22.37 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.205e-05/0.003321, allocations: 4 kB / 380.5 MB, free: 22.37 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.917e-05/0.00337, allocations: 31.98 kB / 380.5 MB, free: 22.34 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.572e-05/0.003406, allocations: 23.84 kB / 380.5 MB, free: 22.31 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.26e-05/0.003429, allocations: 15.94 kB / 380.5 MB, free: 22.3 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001097/0.003538, allocations: 91.66 kB / 380.6 MB, free: 22.21 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.353e-06/0.00354, allocations: 0 / 380.6 MB, free: 22.21 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.41e-07/0.00354, allocations: 0 / 380.6 MB, free: 22.21 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.916e-06/0.003543, allocations: 4 kB / 380.6 MB, free: 22.2 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.000264/0.003807, allocations: 432 kB / 381.1 MB, free: 21.75 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.795e-05/0.003835, allocations: 15.98 kB / 381.1 MB, free: 21.73 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.939e-05/0.003864, allocations: 12.89 kB / 381.1 MB, free: 21.72 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.961e-05/0.003964, allocations: 152.4 kB / 381.2 MB, free: 21.54 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.003976, allocations: 4.359 kB / 381.2 MB, free: 21.54 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.133e-06/0.003983, allocations: 4.375 kB / 381.2 MB, free: 21.54 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.75e-05/0.004051, allocations: 58.94 kB / 381.3 MB, free: 21.47 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.052e-06/0.004057, allocations: 3.938 kB / 381.3 MB, free: 21.46 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.041e-06/0.004063, allocations: 0 / 381.3 MB, free: 21.46 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.004067, allocations: 0 / 381.3 MB, free: 21.46 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.902e-05/0.004086, allocations: 4 kB / 381.3 MB, free: 21.46 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.54e-05/0.004171, allocations: 117.2 kB / 381.4 MB, free: 21.32 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.632e-05/0.004237, allocations: 51.05 kB / 381.5 MB, free: 21.26 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.584e-05/0.004253, allocations: 11.69 kB / 381.5 MB, free: 21.24 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.456e-06/0.004262, allocations: 4 kB / 381.5 MB, free: 21.24 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.959e-05/0.004321, allocations: 72.98 kB / 381.6 MB, free: 21.15 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 6.61e-07/0.004322, allocations: 0 / 381.6 MB, free: 21.15 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001132/0.004435, allocations: 85.5 kB / 381.6 MB, free: 21.06 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.465e-05/0.00445, allocations: 51.41 kB / 381.7 MB, free: 21 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.255e-05/0.004512, allocations: 222.5 kB / 381.9 MB, free: 20.77 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.173e-06/0.00452, allocations: 29.69 kB / 381.9 MB, free: 20.73 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.541e-05/0.004545, allocations: 146.9 kB / 382.1 MB, free: 20.58 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.204e-05/0.004567, allocations: 27.81 kB / 382.1 MB, free: 20.55 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.103e-05/0.004588, allocations: 19.38 kB / 382.1 MB, free: 20.53 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.778e-05/0.004626, allocations: 0.4962 MB / 382.6 MB, free: 20.02 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.079e-05/0.004637, allocations: 8 kB / 382.6 MB, free: 20.01 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.589e-05/0.004652, allocations: 31.34 kB / 382.7 MB, free: 19.97 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.897e-05/0.004681, allocations: 35.31 kB / 382.7 MB, free: 19.93 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.004683, allocations: 0 / 382.7 MB, free: 19.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 5.202e-05/0.004735, allocations: 61.64 kB / 382.8 MB, free: 19.86 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.786e-06/0.004744, allocations: 6.031 kB / 382.8 MB, free: 19.86 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.407e-06/0.004747, allocations: 4 kB / 382.8 MB, free: 19.86 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.424e-06/0.004754, allocations: 7.875 kB / 382.8 MB, free: 19.85 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.33e-05/0.004798, allocations: 16.02 kB / 382.8 MB, free: 19.83 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.344e-06/0.0048, allocations: 0 / 382.8 MB, free: 19.83 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.467e-05/0.004825, allocations: 7.953 kB / 382.8 MB, free: 19.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-06/0.004828, allocations: 0 / 382.8 MB, free: 19.82 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 3.946e-05/0.004868, allocations: 160.6 kB / 383 MB, free: 19.66 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.02e-05/0.004878, allocations: 11.95 kB / 383 MB, free: 19.64 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.593e-05/0.004954, allocations: 82.77 kB / 383 MB, free: 19.56 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.004956, allocations: 3.938 kB / 383 MB, free: 19.55 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.004958, allocations: 4.359 kB / 383.1 MB, free: 19.55 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.004961, allocations: 0 / 383.1 MB, free: 19.55 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.191e-05/0.005013, allocations: 125.2 kB / 383.2 MB, free: 19.4 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-07/0.005013, allocations: 0 / 383.2 MB, free: 19.4 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.165e-05/0.005025, allocations: 4 kB / 383.2 MB, free: 19.4 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.005026, allocations: 4 kB / 383.2 MB, free: 19.39 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.318e-06/0.005031, allocations: 3.938 kB / 383.2 MB, free: 19.39 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-07/0.005031, allocations: 0 / 383.2 MB, free: 19.39 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.005032, allocations: 3.984 kB / 383.2 MB, free: 19.39 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.472e-05/0.005097, allocations: 112.3 kB / 383.3 MB, free: 19.25 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.338e-06/0.005106, allocations: 11.94 kB / 383.3 MB, free: 19.24 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.182e-05/0.005118, allocations: 0 / 383.3 MB, free: 19.24 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.727e-05/0.005135, allocations: 7.984 kB / 383.3 MB, free: 19.23 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.769e-05/0.005153, allocations: 7.938 kB / 383.3 MB, free: 19.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.005162, allocations: 11.94 kB / 383.3 MB, free: 19.21 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.249e-05/0.005195, allocations: 159.8 kB / 383.5 MB, free: 19.06 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005195, allocations: 0 / 383.5 MB, free: 19.06 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001306/0.005325, allocations: 19.94 kB / 383.5 MB, free: 19.04 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.0006858/0.006011, allocations: 380.8 kB / 383.9 MB, free: 18.81 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 6.287e-05/0.006074, allocations: 35.67 kB / 383.9 MB, free: 18.77 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.82e-07/0.006075, allocations: 0 / 383.9 MB, free: 18.77 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.159e-05/0.006096, allocations: 27.61 kB / 383.9 MB, free: 18.74 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001487/0.006245, allocations: 30.77 kB / 384 MB, free: 18.71 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001981/0.006443, allocations: 192 kB / 384.2 MB, free: 18.5 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.812e-05/0.006461, allocations: 71.34 kB / 384.2 MB, free: 18.41 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.421e-05/0.006486, allocations: 12.48 kB / 384.2 MB, free: 18.39 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.346e-05/0.006529, allocations: 90.19 kB / 384.3 MB, free: 18.3 MB / 314.7 MB Notification: Performance of SimCode: time 4e-07/0.006529, allocations: 0 / 384.3 MB, free: 18.3 MB / 314.7 MB Notification: Performance of Templates: time 0.002733/0.009263, allocations: 1.806 MB / 386.1 MB, free: 16.52 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.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.1353038549423218]