Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.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.00156/0.00156, 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.001701/0.001701, allocations: 162.2 kB / 25.6 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.9276/0.9276, allocations: 177.1 MB / 206 MB, free: 4.512 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.1376/0.1376, allocations: 34.26 MB / 296.8 MB, free: 13.92 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.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 3.938 kB / 379.4 MB, free: 23.32 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.919e-06/1.114e-05, allocations: 6.25 kB / 379.4 MB, free: 23.31 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.001625/0.001636, allocations: 1.739 MB / 381.1 MB, free: 21.55 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008859/0.002522, allocations: 0.9936 MB / 382.1 MB, free: 20.55 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.931e-05/0.002591, allocations: 3.938 kB / 382.1 MB, free: 20.55 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002439/0.002835, allocations: 35.77 kB / 382.2 MB, free: 20.52 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002197/0.003055, allocations: 103.5 kB / 382.3 MB, free: 20.41 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001352/0.00319, allocations: 87.59 kB / 382.3 MB, free: 20.33 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001149/0.003305, allocations: 111.6 kB / 382.4 MB, free: 20.22 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.288e-05/0.003378, allocations: 8 kB / 382.5 MB, free: 20.21 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.603e-05/0.003444, allocations: 51.88 kB / 382.5 MB, free: 20.16 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.725e-05/0.003501, allocations: 27.86 kB / 382.5 MB, free: 20.13 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.209e-05/0.003513, allocations: 4 kB / 382.5 MB, free: 20.13 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.946e-05/0.003582, allocations: 47.91 kB / 382.6 MB, free: 20.08 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.659e-05/0.003619, allocations: 19.92 kB / 382.6 MB, free: 20.06 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.575e-05/0.003645, allocations: 19.94 kB / 382.6 MB, free: 20.04 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000121/0.003766, allocations: 111.5 kB / 382.7 MB, free: 19.93 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.003767, allocations: 0 / 382.7 MB, free: 19.93 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.003768, allocations: 4 kB / 382.7 MB, free: 19.93 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.437e-06/0.003771, allocations: 0 / 382.7 MB, free: 19.93 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.0002826/0.004054, allocations: 451.8 kB / 383.2 MB, free: 19.45 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.674e-05/0.004081, allocations: 12.03 kB / 383.2 MB, free: 19.44 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.968e-05/0.00411, allocations: 16.84 kB / 383.2 MB, free: 19.43 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.004213, allocations: 156.4 kB / 383.4 MB, free: 19.25 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.004227, allocations: 4.375 kB / 383.4 MB, free: 19.24 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.287e-05/0.00424, allocations: 8.312 kB / 383.4 MB, free: 19.23 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.284e-05/0.004312, allocations: 58.94 kB / 383.4 MB, free: 19.17 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.004321, allocations: 3.938 kB / 383.4 MB, free: 19.16 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.144e-06/0.004328, allocations: 8 kB / 383.4 MB, free: 19.16 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.004333, allocations: 0 / 383.4 MB, free: 19.16 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.211e-05/0.004355, allocations: 11.98 kB / 383.5 MB, free: 19.14 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001763/0.004531, allocations: 252.4 kB / 383.7 MB, free: 18.87 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.194e-05/0.004603, allocations: 55.11 kB / 383.8 MB, free: 18.8 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.707e-05/0.00462, allocations: 15.67 kB / 383.8 MB, free: 18.79 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.736e-06/0.004629, allocations: 0 / 383.8 MB, free: 18.79 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.795e-05/0.004697, allocations: 72.97 kB / 383.8 MB, free: 18.7 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 7.72e-07/0.004697, allocations: 0 / 383.8 MB, free: 18.7 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002624/0.00496, allocations: 133.5 kB / 384 MB, free: 18.56 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.165e-05/0.004981, allocations: 59.34 kB / 384 MB, free: 18.49 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.459e-05/0.005066, allocations: 242.2 kB / 384.3 MB, free: 18.24 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.294e-06/0.005073, allocations: 29.7 kB / 384.3 MB, free: 18.2 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.18e-05/0.005105, allocations: 154.8 kB / 384.4 MB, free: 18.05 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.164e-05/0.005127, allocations: 27.83 kB / 384.5 MB, free: 18.02 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.425e-05/0.005151, allocations: 23.38 kB / 384.5 MB, free: 17.99 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.206e-05/0.005193, allocations: 0.5039 MB / 385 MB, free: 17.47 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.305e-05/0.005206, allocations: 7.984 kB / 385 MB, free: 17.46 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.09e-05/0.005227, allocations: 31.36 kB / 385 MB, free: 17.43 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.505e-05/0.005262, allocations: 51.42 kB / 385.1 MB, free: 17.37 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.005263, allocations: 0 / 385.1 MB, free: 17.37 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.098e-05/0.005334, allocations: 89.47 kB / 385.2 MB, free: 17.27 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.476e-06/0.005342, allocations: 4 kB / 385.2 MB, free: 17.27 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.005346, allocations: 0 / 385.2 MB, free: 17.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.015e-06/0.005354, allocations: 4 kB / 385.2 MB, free: 17.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.112e-05/0.005405, allocations: 15.98 kB / 385.2 MB, free: 17.25 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.876e-06/0.005408, allocations: 4.312 kB / 385.2 MB, free: 17.25 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.506e-05/0.005433, allocations: 8 kB / 385.2 MB, free: 17.24 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.005437, allocations: 4.031 kB / 385.2 MB, free: 17.23 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.371e-05/0.005491, allocations: 164.5 kB / 385.4 MB, free: 17.06 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.512e-05/0.005506, allocations: 23.89 kB / 385.4 MB, free: 17.04 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.91e-05/0.005605, allocations: 99.06 kB / 385.5 MB, free: 16.93 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.005608, allocations: 3.984 kB / 385.5 MB, free: 16.93 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.00561, allocations: 4 kB / 385.5 MB, free: 16.93 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.005613, allocations: 0 / 385.5 MB, free: 16.93 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001719/0.005785, allocations: 361.5 kB / 385.9 MB, free: 16.54 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.005786, allocations: 4 kB / 385.9 MB, free: 16.53 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.032e-05/0.005806, allocations: 16.02 kB / 385.9 MB, free: 16.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.005808, allocations: 0 / 385.9 MB, free: 16.52 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.11e-06/0.005813, allocations: 0 / 385.9 MB, free: 16.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.005814, allocations: 4 kB / 385.9 MB, free: 16.51 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.005815, allocations: 0 / 385.9 MB, free: 16.51 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.302e-05/0.005898, allocations: 259.7 kB / 386.1 MB, free: 16.23 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.446e-06/0.005906, allocations: 7.953 kB / 386.1 MB, free: 16.23 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.00592, allocations: 4 kB / 386.1 MB, free: 16.22 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.723e-05/0.005957, allocations: 3.984 kB / 386.1 MB, free: 16.22 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.1e-05/0.005978, allocations: 11.94 kB / 386.2 MB, free: 16.21 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.005988, allocations: 11.98 kB / 386.2 MB, free: 16.2 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.843e-05/0.006026, allocations: 168.2 kB / 386.3 MB, free: 16.03 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006027, allocations: 3.938 kB / 386.3 MB, free: 16.03 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001604/0.006187, allocations: 24 kB / 386.4 MB, free: 16 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.0008111/0.006998, allocations: 435.2 kB / 386.8 MB, free: 15.74 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.788e-05/0.007076, allocations: 55.53 kB / 386.8 MB, free: 15.68 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.42e-07/0.007077, allocations: 0 / 386.8 MB, free: 15.68 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.547e-05/0.007102, allocations: 27.67 kB / 386.9 MB, free: 15.65 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000203/0.007305, allocations: 43.08 kB / 386.9 MB, free: 15.61 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002354/0.007541, allocations: 227.8 kB / 387.1 MB, free: 15.36 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.549e-05/0.007566, allocations: 75.19 kB / 387.2 MB, free: 15.27 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.974e-05/0.007596, allocations: 8.984 kB / 387.2 MB, free: 15.25 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.961e-05/0.007645, allocations: 90.19 kB / 387.3 MB, free: 15.16 MB / 314.7 MB Notification: Performance of SimCode: time 4.11e-07/0.007646, allocations: 0 / 387.3 MB, free: 15.16 MB / 314.7 MB Notification: Performance of Templates: time 0.002936/0.01058, allocations: 2.059 MB / 389.4 MB, free: 13.13 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.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.1508905617520213]