Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.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.002105/0.002105, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002001/0.002001, allocations: 165.3 kB / 24.28 MB, free: 148 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.58/1.58, 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.3601/0.3601, allocations: 34.27 MB / 295.3 MB, free: 0.6445 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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 377.4 MB, free: 2.863 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.8e-05/4.023e-05, allocations: 5.828 kB / 377.4 MB, free: 2.859 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.005701/0.005742, allocations: 1.743 MB / 379.1 MB, free: 1.105 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003421/0.009163, allocations: 0.9976 MB / 380.1 MB, free: 104 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.887e-05/0.009262, allocations: 0 / 380.1 MB, free: 104 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004184/0.00968, allocations: 59.62 kB / 380.2 MB, free: 44 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005675/0.01025, allocations: 103.5 kB / 380.3 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003812/0.01063, allocations: 79.61 kB / 380.3 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002937/0.01092, allocations: 111.5 kB / 380.5 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.01102, allocations: 4 kB / 380.5 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001976/0.01122, allocations: 51.89 kB / 380.5 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.01134, allocations: 31.84 kB / 380.5 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.078e-05/0.01137, allocations: 4 kB / 380.5 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001724/0.01154, allocations: 43.92 kB / 380.6 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.129e-05/0.01163, allocations: 27.92 kB / 380.6 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.695e-05/0.01171, allocations: 27.84 kB / 380.6 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000396/0.01211, allocations: 143.5 kB / 380.8 MB, free: 15.43 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.01211, allocations: 0 / 380.8 MB, free: 15.43 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.01211, allocations: 0 / 380.8 MB, free: 15.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.241e-06/0.01212, allocations: 0 / 380.8 MB, free: 15.43 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.0009577/0.01307, allocations: 491.2 kB / 381.3 MB, free: 14.91 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.01312, allocations: 8.031 kB / 381.3 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.326e-05/0.0132, allocations: 16.84 kB / 381.3 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003875/0.01359, allocations: 160.3 kB / 381.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.01361, allocations: 4.375 kB / 381.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.061e-05/0.01364, allocations: 8.312 kB / 381.5 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001917/0.01383, allocations: 50.23 kB / 381.5 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/0.01385, allocations: 11.89 kB / 381.5 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/0.01387, allocations: 4 kB / 381.5 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.01387, allocations: 0 / 381.5 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/0.01398, allocations: 15.98 kB / 381.5 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006664/0.01465, allocations: 319.8 kB / 381.8 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002719/0.01492, allocations: 63.11 kB / 381.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.01502, allocations: 31.61 kB / 381.9 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.01504, allocations: 4 kB / 381.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002316/0.01527, allocations: 69.05 kB / 382 MB, free: 14.06 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.823e-06/0.01528, allocations: 7.938 kB / 382 MB, free: 14.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008719/0.01615, allocations: 197.2 kB / 382.2 MB, free: 13.86 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.483e-05/0.01621, allocations: 51.41 kB / 382.3 MB, free: 13.79 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005195/0.01673, allocations: 302.5 kB / 382.6 MB, free: 13.48 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.769e-05/0.01677, allocations: 29.7 kB / 382.6 MB, free: 13.45 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002076/0.01698, allocations: 174.9 kB / 382.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.925e-05/0.01704, allocations: 23.84 kB / 382.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.763e-05/0.01712, allocations: 27.38 kB / 382.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004149/0.01754, allocations: 0.5118 MB / 383.3 MB, free: 12.69 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/0.01764, allocations: 19.94 kB / 383.3 MB, free: 12.67 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.01778, allocations: 47.36 kB / 383.4 MB, free: 12.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002195/0.018, allocations: 71.36 kB / 383.5 MB, free: 12.54 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.018, allocations: 0 / 383.5 MB, free: 12.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003631/0.01836, allocations: 109.5 kB / 383.6 MB, free: 12.42 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.01838, allocations: 4 kB / 383.6 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.01839, allocations: 4 kB / 383.6 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.01841, allocations: 0 / 383.6 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.01854, allocations: 15.98 kB / 383.6 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.01855, allocations: 0 / 383.6 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.698e-05/0.01864, allocations: 11.94 kB / 383.6 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.474e-05/0.01865, allocations: 8.031 kB / 383.6 MB, free: 12.38 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.0001963/0.01885, allocations: 172.4 kB / 383.8 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.829e-05/0.01891, allocations: 15.91 kB / 383.8 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000425/0.01933, allocations: 127 kB / 383.9 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.01934, allocations: 0 / 383.9 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.01934, allocations: 0 / 383.9 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.01934, allocations: 0 / 383.9 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008835/0.02023, allocations: 429 kB / 384.3 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.02023, allocations: 0 / 384.3 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.571e-05/0.02031, allocations: 20.02 kB / 384.3 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.02031, allocations: 0 / 384.3 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/0.02033, allocations: 4 kB / 384.4 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.662e-06/0.02033, allocations: 4.375 kB / 384.4 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.02033, allocations: 0 / 384.4 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004967/0.02083, allocations: 271.4 kB / 384.6 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.216e-05/0.02088, allocations: 19.91 kB / 384.6 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.55e-05/0.02092, allocations: 3.938 kB / 384.6 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001386/0.02106, allocations: 7.984 kB / 384.7 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.175e-05/0.02111, allocations: 7.984 kB / 384.7 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.589e-05/0.02113, allocations: 8 kB / 384.7 MB, free: 11.23 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003152/0.02145, allocations: 220.5 kB / 384.9 MB, free: 11.01 MB / 362.7 MB Notification: Performance of sort global known variables: time 2e-07/0.02145, allocations: 0 / 384.9 MB, free: 11.01 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004921/0.02194, allocations: 20 kB / 384.9 MB, free: 10.99 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.005027/0.02697, allocations: 0.4887 MB / 385.4 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002952/0.02726, allocations: 67.59 kB / 385.5 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.02727, allocations: 0 / 385.5 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000148/0.02741, allocations: 39.83 kB / 385.5 MB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006142/0.02803, allocations: 39.11 kB / 385.5 MB, free: 10.56 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000806/0.02883, allocations: 274.4 kB / 385.8 MB, free: 10.26 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001878/0.02902, allocations: 117.2 kB / 385.9 MB, free: 10.12 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.208e-05/0.02909, allocations: 8.984 kB / 385.9 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.13e-05/0.02917, allocations: 24.42 kB / 385.9 MB, free: 10.09 MB / 362.7 MB Notification: Performance of SimCode: time 6.81e-07/0.02917, allocations: 0 / 385.9 MB, free: 10.09 MB / 362.7 MB Notification: Performance of Templates: time 0.008974/0.03814, allocations: 1.893 MB / 387.8 MB, free: 8.227 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.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: 5.013868913054466]