Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.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.001445/0.001445, 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.001576/0.001576, allocations: 163.9 kB / 25.61 MB, free: 8.582 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.9745/0.9745, allocations: 177.1 MB / 206.1 MB, free: 4.477 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.1458/0.1458, allocations: 32.8 MB / 295.4 MB, free: 15.37 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.Test43,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.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,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.Test43") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 377.4 MB, free: 25.5 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.879e-05/2.025e-05, allocations: 2.312 kB / 377.4 MB, free: 25.5 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.00175/0.00177, allocations: 1.754 MB / 379.1 MB, free: 23.73 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009353/0.002706, allocations: 0.9897 MB / 380.1 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.84e-05/0.002774, allocations: 0 / 380.1 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000261/0.003035, allocations: 47.75 kB / 380.1 MB, free: 22.68 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000222/0.003257, allocations: 99.41 kB / 380.2 MB, free: 22.59 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001266/0.003384, allocations: 83.61 kB / 380.3 MB, free: 22.5 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001209/0.003505, allocations: 107.6 kB / 380.4 MB, free: 22.4 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.166e-05/0.003576, allocations: 7.984 kB / 380.4 MB, free: 22.39 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.273e-05/0.003639, allocations: 55.83 kB / 380.5 MB, free: 22.34 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.837e-05/0.003697, allocations: 23.92 kB / 380.5 MB, free: 22.31 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.214e-05/0.00371, allocations: 4 kB / 380.5 MB, free: 22.31 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.162e-05/0.003771, allocations: 43.92 kB / 380.6 MB, free: 22.27 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.817e-05/0.003809, allocations: 27.91 kB / 380.6 MB, free: 22.24 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.684e-05/0.003836, allocations: 23.86 kB / 380.6 MB, free: 22.21 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001381/0.003974, allocations: 103.6 kB / 380.7 MB, free: 22.11 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.003976, allocations: 0 / 380.7 MB, free: 22.11 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.003977, allocations: 0 / 380.7 MB, free: 22.11 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.003982, allocations: 0 / 380.7 MB, free: 22.11 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.0003629/0.004345, allocations: 451.8 kB / 381.2 MB, free: 21.64 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.004381, allocations: 11.98 kB / 381.2 MB, free: 21.62 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.653e-05/0.004418, allocations: 16.84 kB / 381.2 MB, free: 21.61 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.004549, allocations: 168.3 kB / 381.3 MB, free: 21.42 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.004566, allocations: 384 / 381.3 MB, free: 21.42 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.672e-05/0.004582, allocations: 8.375 kB / 381.4 MB, free: 21.41 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.675e-05/0.004679, allocations: 66.88 kB / 381.4 MB, free: 21.34 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.00469, allocations: 3.938 kB / 381.4 MB, free: 21.33 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.497e-06/0.0047, allocations: 7.984 kB / 381.4 MB, free: 21.32 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.004706, allocations: 0 / 381.4 MB, free: 21.32 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.517e-05/0.004731, allocations: 4 kB / 381.4 MB, free: 21.32 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002332/0.004964, allocations: 260.4 kB / 381.7 MB, free: 21.04 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.788e-05/0.005042, allocations: 51.09 kB / 381.7 MB, free: 20.98 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.854e-05/0.005061, allocations: 19.69 kB / 381.8 MB, free: 20.95 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.578e-06/0.00507, allocations: 0 / 381.8 MB, free: 20.95 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.226e-05/0.005143, allocations: 68.98 kB / 381.8 MB, free: 20.87 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 7.02e-07/0.005143, allocations: 0 / 381.8 MB, free: 20.87 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002868/0.00543, allocations: 141.5 kB / 382 MB, free: 20.73 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.023e-05/0.00545, allocations: 51.41 kB / 382 MB, free: 20.66 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.7e-05/0.005537, allocations: 246.2 kB / 382.3 MB, free: 20.41 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.235e-06/0.005546, allocations: 29.7 kB / 382.3 MB, free: 20.37 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.646e-05/0.005582, allocations: 150.8 kB / 382.4 MB, free: 20.22 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.227e-05/0.005604, allocations: 19.86 kB / 382.5 MB, free: 20.2 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.752e-05/0.005632, allocations: 35.36 kB / 382.5 MB, free: 20.16 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.844e-05/0.00568, allocations: 0.5001 MB / 383 MB, free: 19.64 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.24e-05/0.005693, allocations: 11.94 kB / 383 MB, free: 19.63 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.137e-05/0.005714, allocations: 31.36 kB / 383 MB, free: 19.59 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.446e-05/0.005749, allocations: 43.36 kB / 383.1 MB, free: 19.54 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.005749, allocations: 0 / 383.1 MB, free: 19.54 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.316e-05/0.005822, allocations: 93.45 kB / 383.2 MB, free: 19.45 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.097e-06/0.005832, allocations: 4 kB / 383.2 MB, free: 19.44 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.407e-06/0.005835, allocations: 0 / 383.2 MB, free: 19.44 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.397e-06/0.005844, allocations: 4.031 kB / 383.2 MB, free: 19.44 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.282e-05/0.005907, allocations: 20 kB / 383.2 MB, free: 19.42 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.976e-06/0.00591, allocations: 0 / 383.2 MB, free: 19.42 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.469e-05/0.005935, allocations: 3.984 kB / 383.2 MB, free: 19.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.00594, allocations: 8.312 kB / 383.2 MB, free: 19.41 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 4.593e-05/0.005986, allocations: 164.4 kB / 383.4 MB, free: 19.24 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.395e-05/0.006, allocations: 15.89 kB / 383.4 MB, free: 19.22 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001051/0.006105, allocations: 107.1 kB / 383.5 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.006107, allocations: 0 / 383.5 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.006108, allocations: 4 kB / 383.5 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.006111, allocations: 4 kB / 383.5 MB, free: 19.1 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001837/0.006295, allocations: 373.5 kB / 383.9 MB, free: 18.7 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.006296, allocations: 0 / 383.9 MB, free: 18.7 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.121e-05/0.006317, allocations: 8 kB / 383.9 MB, free: 18.69 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.00632, allocations: 4 kB / 383.9 MB, free: 18.69 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.6e-06/0.006326, allocations: 4 kB / 383.9 MB, free: 18.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.006326, allocations: 0 / 383.9 MB, free: 18.68 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.006327, allocations: 0 / 383.9 MB, free: 18.68 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.456e-05/0.006412, allocations: 259.4 kB / 384.1 MB, free: 18.41 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.009e-05/0.006422, allocations: 11.94 kB / 384.1 MB, free: 18.39 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.006435, allocations: 4.031 kB / 384.1 MB, free: 18.39 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.784e-05/0.006473, allocations: 8 kB / 384.1 MB, free: 18.38 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.185e-05/0.006495, allocations: 11.97 kB / 384.2 MB, free: 18.37 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.197e-06/0.006504, allocations: 0 / 384.2 MB, free: 18.37 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.788e-05/0.006542, allocations: 172.2 kB / 384.3 MB, free: 18.2 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006542, allocations: 0 / 384.3 MB, free: 18.2 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001563/0.006698, allocations: 23.98 kB / 384.3 MB, free: 18.18 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.0008039/0.007502, allocations: 434.6 kB / 384.8 MB, free: 17.93 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.993e-05/0.007592, allocations: 55.53 kB / 384.8 MB, free: 17.87 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.72e-07/0.007593, allocations: 0 / 384.8 MB, free: 17.87 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.917e-05/0.007622, allocations: 27.67 kB / 384.9 MB, free: 17.84 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002209/0.007843, allocations: 39.06 kB / 384.9 MB, free: 17.8 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002532/0.008096, allocations: 227.8 kB / 385.1 MB, free: 17.55 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.583e-05/0.008122, allocations: 71.19 kB / 385.2 MB, free: 17.46 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.134e-05/0.008153, allocations: 21.08 kB / 385.2 MB, free: 17.43 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.071e-05/0.008204, allocations: 94.19 kB / 385.3 MB, free: 17.34 MB / 314.7 MB Notification: Performance of SimCode: time 4.51e-07/0.008205, allocations: 3.938 kB / 385.3 MB, free: 17.34 MB / 314.7 MB Notification: Performance of Templates: time 0.003004/0.01121, allocations: 2.047 MB / 387.3 MB, free: 15.32 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.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.2600387036800385]