Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.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.0009047/0.0009047, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001376/0.001376, allocations: 168.6 kB / 24.91 MB, free: 9.152 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.9382/0.9382, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.2865/0.2865, allocations: 34.26 MB / 296.1 MB, free: 0.7188 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.Test89,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89") translateModel(ModelicaTest.Tables.CombiTimeTable.Test89,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 325.3 MB, free: 7.609 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.191e-05/1.307e-05, allocations: 11.45 kB / 325.3 MB, free: 7.598 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test89): time 0.00195/0.001963, allocations: 1.761 MB / 327.1 MB, free: 5.824 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001519/0.003482, allocations: 1.746 MB / 328.8 MB, free: 4.07 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.987e-05/0.003532, allocations: 0 / 328.8 MB, free: 4.07 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001701/0.003702, allocations: 27.8 kB / 328.9 MB, free: 4.043 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002155/0.003917, allocations: 111.4 kB / 329 MB, free: 3.934 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001116/0.004029, allocations: 75.61 kB / 329.1 MB, free: 3.859 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000114/0.004143, allocations: 111.7 kB / 329.2 MB, free: 3.75 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.382e-05/0.004197, allocations: 4.5 kB / 329.2 MB, free: 3.746 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.308e-05/0.00427, allocations: 67.75 kB / 329.2 MB, free: 3.68 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.905e-05/0.004349, allocations: 31.91 kB / 329.3 MB, free: 3.648 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.077e-05/0.00436, allocations: 8 kB / 329.3 MB, free: 3.641 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001231/0.004483, allocations: 103.8 kB / 329.4 MB, free: 3.539 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.81e-05/0.004521, allocations: 27.84 kB / 329.4 MB, free: 3.512 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.495e-05/0.004546, allocations: 15.94 kB / 329.4 MB, free: 3.496 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001696/0.004716, allocations: 159.5 kB / 329.6 MB, free: 3.34 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.004717, allocations: 0 / 329.6 MB, free: 3.34 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.61e-07/0.004718, allocations: 0 / 329.6 MB, free: 3.34 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.695e-06/0.00472, allocations: 0 / 329.6 MB, free: 3.34 MB / 298.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.000346/0.005066, allocations: 333.5 kB / 329.9 MB, free: 2.992 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.738e-05/0.005094, allocations: 12.03 kB / 329.9 MB, free: 2.98 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.661e-05/0.00512, allocations: 12.92 kB / 329.9 MB, free: 2.969 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.005252, allocations: 145.1 kB / 330.1 MB, free: 2.805 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.005264, allocations: 384 / 330.1 MB, free: 2.805 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.59e-05/0.00528, allocations: 4.375 kB / 330.1 MB, free: 2.801 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/0.005392, allocations: 112.5 kB / 330.2 MB, free: 2.668 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.0054, allocations: 0 / 330.2 MB, free: 2.668 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.74e-06/0.005405, allocations: 0 / 330.2 MB, free: 2.668 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.00541, allocations: 0 / 330.2 MB, free: 2.668 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.323e-05/0.005433, allocations: 10.83 kB / 330.2 MB, free: 2.656 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001688/0.005602, allocations: 169.9 kB / 330.4 MB, free: 2.473 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.054e-05/0.005683, allocations: 93.27 kB / 330.4 MB, free: 2.371 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.762e-05/0.0057, allocations: 20.78 kB / 330.5 MB, free: 2.348 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.544e-06/0.005708, allocations: 0 / 330.5 MB, free: 2.348 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.714e-05/0.005775, allocations: 62.22 kB / 330.5 MB, free: 2.273 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 7.71e-07/0.005776, allocations: 0 / 330.5 MB, free: 2.273 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002317/0.006007, allocations: 117.8 kB / 330.6 MB, free: 2.152 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/0.006039, allocations: 77.11 kB / 330.7 MB, free: 2.059 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.083e-05/0.006129, allocations: 154.8 kB / 330.9 MB, free: 1.895 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.006143, allocations: 33.69 kB / 330.9 MB, free: 1.855 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.879e-05/0.006172, allocations: 92.12 kB / 331 MB, free: 1.762 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.34e-05/0.006195, allocations: 35.72 kB / 331 MB, free: 1.727 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.688e-05/0.006222, allocations: 21.72 kB / 331 MB, free: 1.699 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.949e-05/0.006292, allocations: 326.7 kB / 331.4 MB, free: 1.371 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.375e-05/0.006305, allocations: 10.83 kB / 331.4 MB, free: 1.359 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.567e-05/0.006341, allocations: 60.33 kB / 331.4 MB, free: 1.285 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.716e-05/0.006378, allocations: 40.45 kB / 331.5 MB, free: 1.238 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.00638, allocations: 7.938 kB / 331.5 MB, free: 1.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.713e-05/0.006447, allocations: 68.5 kB / 331.5 MB, free: 1.156 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.638e-06/0.006457, allocations: 10.34 kB / 331.6 MB, free: 1.148 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.006461, allocations: 3.984 kB / 331.6 MB, free: 1.145 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.838e-06/0.006471, allocations: 0 / 331.6 MB, free: 1.145 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.643e-05/0.006517, allocations: 16 kB / 331.6 MB, free: 1.129 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.434e-06/0.00652, allocations: 3.938 kB / 331.6 MB, free: 1.125 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.623e-05/0.006546, allocations: 4 kB / 331.6 MB, free: 1.121 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.598e-06/0.00655, allocations: 0 / 331.6 MB, free: 1.121 MB / 298.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.396e-05/0.006604, allocations: 124.6 kB / 331.7 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.086e-05/0.006615, allocations: 8 kB / 331.7 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.226e-05/0.006697, allocations: 82.38 kB / 331.8 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.006699, allocations: 0 / 331.8 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-06/0.0067, allocations: 0 / 331.8 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.006703, allocations: 0 / 331.8 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001899/0.006893, allocations: 291.6 kB / 332.1 MB, free: 0.582 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.006894, allocations: 3.984 kB / 332.1 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.977e-05/0.006914, allocations: 12 kB / 332.1 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.006915, allocations: 0 / 332.1 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.006921, allocations: 4 kB / 332.1 MB, free: 0.5625 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.42e-07/0.006922, allocations: 80 / 332.1 MB, free: 0.5625 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.006923, allocations: 8.016 kB / 332.1 MB, free: 0.5547 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.397e-05/0.007017, allocations: 215 kB / 332.3 MB, free: 332 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.195e-05/0.007029, allocations: 7.953 kB / 332.3 MB, free: 324 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.007044, allocations: 8 kB / 332.3 MB, free: 316 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.642e-05/0.007081, allocations: 0 / 332.3 MB, free: 316 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.933e-05/0.0071, allocations: 7.984 kB / 332.3 MB, free: 308 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.377e-06/0.007109, allocations: 8 kB / 332.4 MB, free: 300 kB / 298.7 MB Notification: Performance of sorting global known variables: time 3.584e-05/0.007145, allocations: 42.69 kB / 332.4 MB, free: 256 kB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007145, allocations: 0 / 332.4 MB, free: 256 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001816/0.007327, allocations: 47.86 kB / 332.4 MB, free: 208 kB / 298.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.001329/0.008656, allocations: 0.7203 MB / 333.2 MB, free: 15.83 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.477e-05/0.008741, allocations: 36.84 kB / 333.2 MB, free: 15.79 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.008745, allocations: 4 kB / 333.2 MB, free: 15.79 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.469e-05/0.008779, allocations: 24.91 kB / 333.2 MB, free: 15.76 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001548/0.008934, allocations: 36.81 kB / 333.3 MB, free: 15.73 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002458/0.00918, allocations: 199.7 kB / 333.5 MB, free: 15.5 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.011e-05/0.00921, allocations: 63.34 kB / 333.5 MB, free: 15.42 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.311e-05/0.009263, allocations: 25.22 kB / 333.5 MB, free: 15.39 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.895e-05/0.009332, allocations: 79.34 kB / 333.6 MB, free: 15.31 MB / 314.7 MB Notification: Performance of SimCode: time 6.21e-07/0.009333, allocations: 0 / 333.6 MB, free: 15.31 MB / 314.7 MB Notification: Performance of Templates: time 0.00361/0.01294, allocations: 2.764 MB / 336.4 MB, free: 12.58 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test89/Test89.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: 2.8642926272004843]