Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.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.001065/0.001065, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001205/0.001205, allocations: 161 kB / 24.56 MB, free: 16 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 0.9983/0.9983, allocations: 177.1 MB / 205 MB, free: 5.598 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.2573/0.2573, allocations: 34.26 MB / 295.7 MB, free: 0.7656 MB / 266.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.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 378.1 MB, free: 2.566 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.802e-05/2.005e-05, allocations: 2.312 kB / 378.1 MB, free: 2.562 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.002256/0.002276, allocations: 1.785 MB / 379.9 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001294/0.00357, allocations: 1.009 MB / 380.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.435e-05/0.003644, allocations: 0 / 380.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003127/0.003957, allocations: 91.62 kB / 381 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003274/0.004284, allocations: 123.4 kB / 381.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001972/0.004481, allocations: 87.59 kB / 381.2 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001673/0.004649, allocations: 127.7 kB / 381.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.32e-05/0.004742, allocations: 7.984 kB / 381.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.167e-05/0.004833, allocations: 75.75 kB / 381.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.384e-05/0.004927, allocations: 59.86 kB / 381.5 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.004944, allocations: 4 kB / 381.5 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.756e-05/0.005042, allocations: 59.91 kB / 381.6 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.394e-05/0.005096, allocations: 31.86 kB / 381.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.949e-05/0.005135, allocations: 19.92 kB / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001847/0.00532, allocations: 131.5 kB / 381.7 MB, free: 14.94 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.005322, allocations: 0 / 381.7 MB, free: 14.94 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.005323, allocations: 0 / 381.7 MB, free: 14.94 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.005327, allocations: 0 / 381.7 MB, free: 14.94 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004492/0.005776, allocations: 463.7 kB / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.005813, allocations: 8.031 kB / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.883e-05/0.005862, allocations: 24.83 kB / 382.2 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001688/0.006031, allocations: 157.2 kB / 382.4 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.935e-05/0.00605, allocations: 384 / 382.4 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.524e-05/0.006075, allocations: 8.375 kB / 382.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001291/0.006204, allocations: 70.88 kB / 382.5 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.006214, allocations: 3.938 kB / 382.5 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.268e-06/0.006223, allocations: 3.938 kB / 382.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.006232, allocations: 4 kB / 382.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.92e-05/0.006271, allocations: 15.97 kB / 382.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003329/0.006604, allocations: 299.7 kB / 382.8 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001918/0.006796, allocations: 66.92 kB / 382.8 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.345e-05/0.006829, allocations: 19.67 kB / 382.9 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.006845, allocations: 0 / 382.9 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001033/0.006948, allocations: 69.17 kB / 382.9 MB, free: 13.61 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.006949, allocations: 0 / 382.9 MB, free: 13.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005107/0.00746, allocations: 233.3 kB / 383.2 MB, free: 13.38 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.793e-05/0.007488, allocations: 55.39 kB / 383.2 MB, free: 13.31 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.007644, allocations: 259.1 kB / 383.5 MB, free: 13.04 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.007657, allocations: 29.64 kB / 383.5 MB, free: 13.01 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.05e-05/0.007717, allocations: 158.9 kB / 383.6 MB, free: 12.85 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.007752, allocations: 39.69 kB / 383.7 MB, free: 12.81 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.528e-05/0.007787, allocations: 27.38 kB / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.007917, allocations: 0.5117 MB / 384.2 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.212e-05/0.007949, allocations: 20 kB / 384.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.11e-05/0.00799, allocations: 39.36 kB / 384.3 MB, free: 12.18 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.38e-05/0.008064, allocations: 63.3 kB / 384.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.008065, allocations: 0 / 384.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001335/0.008198, allocations: 113.5 kB / 384.4 MB, free: 12 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.008214, allocations: 6.031 kB / 384.5 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.008219, allocations: 0 / 384.5 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.008232, allocations: 0 / 384.5 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.687e-05/0.008289, allocations: 31.97 kB / 384.5 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.008295, allocations: 3.984 kB / 384.5 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.922e-05/0.008325, allocations: 4 kB / 384.5 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.008331, allocations: 0 / 384.5 MB, free: 11.95 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 (13): * Single equations (assignments): 13 * 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 7.71e-05/0.008408, allocations: 167.9 kB / 384.7 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.132e-05/0.008429, allocations: 19.91 kB / 384.7 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001811/0.00861, allocations: 143.1 kB / 384.8 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.008612, allocations: 0 / 384.8 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.008615, allocations: 0 / 384.8 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.008619, allocations: 4 kB / 384.8 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003319/0.008951, allocations: 444.6 kB / 385.3 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.008954, allocations: 0 / 385.3 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.605e-05/0.00899, allocations: 23.92 kB / 385.3 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.008992, allocations: 0 / 385.3 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.009002, allocations: 8 kB / 385.3 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.009004, allocations: 0 / 385.3 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.009006, allocations: 3.938 kB / 385.3 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002398/0.009245, allocations: 287.1 kB / 385.6 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.308e-05/0.009268, allocations: 11.91 kB / 385.6 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.529e-05/0.009294, allocations: 8.047 kB / 385.6 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.904e-05/0.009373, allocations: 8 kB / 385.6 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.612e-05/0.009419, allocations: 11.92 kB / 385.6 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/0.009436, allocations: 8 kB / 385.6 MB, free: 10.74 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.307e-05/0.009529, allocations: 183.1 kB / 385.8 MB, free: 10.56 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009529, allocations: 0 / 385.8 MB, free: 10.56 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001858/0.009715, allocations: 27.94 kB / 385.8 MB, free: 10.53 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.001012/0.01073, allocations: 483.7 kB / 386.3 MB, free: 10.24 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001382/0.01087, allocations: 75.47 kB / 386.4 MB, free: 10.16 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.01087, allocations: 0 / 386.4 MB, free: 10.16 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.875e-05/0.01092, allocations: 43.61 kB / 386.4 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002325/0.01115, allocations: 27.97 kB / 386.4 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003673/0.01151, allocations: 277.5 kB / 386.7 MB, free: 9.781 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.305e-05/0.01156, allocations: 71.33 kB / 386.8 MB, free: 9.691 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.876e-05/0.0116, allocations: 16.64 kB / 386.8 MB, free: 9.676 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.514e-05/0.01163, allocations: 24.48 kB / 386.8 MB, free: 9.652 MB / 362.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01163, allocations: 0 / 386.8 MB, free: 9.652 MB / 362.7 MB Notification: Performance of Templates: time 0.003728/0.01536, allocations: 2.133 MB / 389 MB, free: 7.555 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.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.260216837283224]