Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.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.002029/0.002029, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002703/0.002703, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 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 1.478/1.478, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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.3393/0.3393, allocations: 34.26 MB / 295.3 MB, free: 0.668 MB / 266.7 MB " [Timeout remaining time 179] 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.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 377.4 MB, free: 2.871 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.413e-05/3.614e-05, allocations: 2.312 kB / 377.4 MB, free: 2.867 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.003897/0.003933, allocations: 1.719 MB / 379.1 MB, free: 1.133 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002133/0.006066, allocations: 0.9742 MB / 380.1 MB, free: 156 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001042/0.00617, allocations: 0 / 380.1 MB, free: 156 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004108/0.006581, allocations: 91.56 kB / 380.2 MB, free: 64 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005004/0.007081, allocations: 115.5 kB / 380.3 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002856/0.007367, allocations: 79.61 kB / 380.3 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002769/0.007643, allocations: 119.6 kB / 380.5 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.007749, allocations: 11.92 kB / 380.5 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001712/0.00792, allocations: 67.81 kB / 380.5 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001794/0.0081, allocations: 55.81 kB / 380.6 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.513e-05/0.008125, allocations: 4 kB / 380.6 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000137/0.008262, allocations: 43.98 kB / 380.6 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.786e-05/0.00835, allocations: 27.91 kB / 380.7 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.66e-05/0.008416, allocations: 19.92 kB / 380.7 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00033/0.008746, allocations: 123.5 kB / 380.8 MB, free: 15.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.008751, allocations: 0 / 380.8 MB, free: 15.41 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.008752, allocations: 0 / 380.8 MB, free: 15.41 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.008759, allocations: 0 / 380.8 MB, free: 15.41 MB / 362.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.0007696/0.009528, allocations: 353.5 kB / 381.2 MB, free: 15.03 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.288e-05/0.009591, allocations: 8.031 kB / 381.2 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.051e-05/0.009682, allocations: 24.83 kB / 381.2 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000367/0.01005, allocations: 153.6 kB / 381.3 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.01006, allocations: 384 / 381.3 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.209e-05/0.0101, allocations: 8.375 kB / 381.3 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001926/0.01029, allocations: 54.23 kB / 381.4 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.0103, allocations: 3.938 kB / 381.4 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.01032, allocations: 0 / 381.4 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.01032, allocations: 3.938 kB / 381.4 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.827e-05/0.01041, allocations: 23.92 kB / 381.4 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005013/0.01091, allocations: 236.6 kB / 381.7 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002112/0.01112, allocations: 58.67 kB / 381.7 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.454e-05/0.0112, allocations: 28.78 kB / 381.7 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.747e-05/0.01121, allocations: 0 / 381.7 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002069/0.01142, allocations: 71.33 kB / 381.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.01142, allocations: 0 / 381.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.001055/0.01248, allocations: 189.6 kB / 382 MB, free: 14.09 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.933e-05/0.01254, allocations: 55.41 kB / 382.1 MB, free: 14.03 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002967/0.01283, allocations: 219.6 kB / 382.3 MB, free: 13.8 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.622e-05/0.01286, allocations: 25.7 kB / 382.3 MB, free: 13.77 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.01297, allocations: 112.1 kB / 382.4 MB, free: 13.65 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.32e-05/0.01301, allocations: 27.78 kB / 382.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.75e-05/0.01306, allocations: 21.72 kB / 382.5 MB, free: 13.6 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001992/0.01326, allocations: 326.8 kB / 382.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.835e-05/0.01333, allocations: 19.98 kB / 382.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.01343, allocations: 37.7 kB / 382.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/0.01359, allocations: 77.7 kB / 382.9 MB, free: 13.12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.01359, allocations: 0 / 382.9 MB, free: 13.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002583/0.01385, allocations: 117.5 kB / 383 MB, free: 13 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.01387, allocations: 8 kB / 383 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.01388, allocations: 0 / 383 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.524e-05/0.0139, allocations: 0 / 383 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.01402, allocations: 12 kB / 383 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.01403, allocations: 3.984 kB / 383 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.299e-05/0.01408, allocations: 4 kB / 383 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.612e-05/0.0141, allocations: 8 kB / 383.1 MB, free: 12.97 MB / 362.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 0.0001418/0.01424, allocations: 137.3 kB / 383.2 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.854e-05/0.01428, allocations: 19.91 kB / 383.2 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003113/0.01459, allocations: 123.1 kB / 383.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.01459, allocations: 0 / 383.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.0146, allocations: 4 kB / 383.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.0146, allocations: 0 / 383.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005379/0.01514, allocations: 350.9 kB / 383.7 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.01514, allocations: 0 / 383.7 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.5e-05/0.01519, allocations: 15.88 kB / 383.7 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.01519, allocations: 0 / 383.7 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.059e-05/0.01521, allocations: 11.98 kB / 383.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.225e-05/0.01523, allocations: 0 / 383.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.01523, allocations: 4.031 kB / 383.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003257/0.01555, allocations: 220.2 kB / 383.9 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.249e-05/0.01557, allocations: 7.953 kB / 383.9 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.229e-05/0.01561, allocations: 3.984 kB / 383.9 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.31e-05/0.01569, allocations: 8 kB / 383.9 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.062e-05/0.01574, allocations: 3.984 kB / 383.9 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-05/0.01576, allocations: 4 kB / 383.9 MB, free: 12 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000201/0.01596, allocations: 177.1 kB / 384.1 MB, free: 11.83 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01596, allocations: 0 / 384.1 MB, free: 11.83 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002889/0.01625, allocations: 27.92 kB / 384.1 MB, free: 11.8 MB / 362.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.002378/0.01863, allocations: 492.5 kB / 384.6 MB, free: 11.53 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002297/0.01886, allocations: 67.83 kB / 384.7 MB, free: 11.46 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.01886, allocations: 4.062 kB / 384.7 MB, free: 11.46 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.863e-05/0.01895, allocations: 32.08 kB / 384.7 MB, free: 11.43 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004586/0.01941, allocations: 36.06 kB / 384.8 MB, free: 11.39 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006575/0.02006, allocations: 256.1 kB / 385 MB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001461/0.02021, allocations: 100.7 kB / 385.1 MB, free: 11 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.591e-05/0.02028, allocations: 17.03 kB / 385.1 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.166e-05/0.02033, allocations: 16.5 kB / 385.1 MB, free: 10.96 MB / 362.7 MB Notification: Performance of SimCode: time 1.032e-06/0.02033, allocations: 0 / 385.1 MB, free: 10.96 MB / 362.7 MB Notification: Performance of Templates: time 0.006014/0.02634, allocations: 1.877 MB / 387 MB, free: 9.113 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.8178939409554005]