Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.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.001083/0.001083, allocations: 88.2 kB / 20.95 MB, free: 3.598 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.001086/0.001086, allocations: 165 kB / 24.24 MB, free: 312 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8733/0.8733, allocations: 158.6 MB / 186 MB, free: 2.93 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1218/0.1218, allocations: 32.38 MB / 270.7 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 347.7 MB, free: 9.715 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.319e-05/2.461e-05, allocations: 2.312 kB / 347.7 MB, free: 9.711 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.00209/0.002114, allocations: 1.82 MB / 349.6 MB, free: 7.879 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00137/0.003484, allocations: 1.587 MB / 351.1 MB, free: 6.281 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.001e-05/0.003564, allocations: 7.938 kB / 351.1 MB, free: 6.273 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003005/0.003865, allocations: 51.69 kB / 351.2 MB, free: 6.223 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002623/0.004127, allocations: 99.41 kB / 351.3 MB, free: 6.125 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002298/0.004357, allocations: 139.6 kB / 351.4 MB, free: 5.988 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001806/0.004538, allocations: 191.3 kB / 351.6 MB, free: 5.801 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.347e-05/0.004581, allocations: 9.797 kB / 351.6 MB, free: 5.793 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.004683, allocations: 99.67 kB / 351.7 MB, free: 5.695 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001175/0.004801, allocations: 51.81 kB / 351.8 MB, free: 5.645 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.171e-05/0.004823, allocations: 11.98 kB / 351.8 MB, free: 5.633 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.408e-05/0.004917, allocations: 59.92 kB / 351.8 MB, free: 5.574 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.728e-05/0.004974, allocations: 35.83 kB / 351.9 MB, free: 5.539 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.107e-05/0.005025, allocations: 39.86 kB / 351.9 MB, free: 5.5 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002267/0.005252, allocations: 147.4 kB / 352.1 MB, free: 5.355 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.005254, allocations: 0 / 352.1 MB, free: 5.355 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.005255, allocations: 4 kB / 352.1 MB, free: 5.352 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.005261, allocations: 0 / 352.1 MB, free: 5.352 MB / 282.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.0004774/0.005738, allocations: 491.6 kB / 352.5 MB, free: 4.836 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.005783, allocations: 8.031 kB / 352.6 MB, free: 4.828 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.218e-05/0.005845, allocations: 24.83 kB / 352.6 MB, free: 4.805 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001909/0.006036, allocations: 176.3 kB / 352.8 MB, free: 4.605 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.006054, allocations: 384 / 352.8 MB, free: 4.605 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/0.006068, allocations: 12.31 kB / 352.8 MB, free: 4.594 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001698/0.006238, allocations: 161.1 kB / 352.9 MB, free: 4.398 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.006249, allocations: 3.938 kB / 352.9 MB, free: 4.395 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.006261, allocations: 8 kB / 352.9 MB, free: 4.387 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.00627, allocations: 0 / 352.9 MB, free: 4.387 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.432e-05/0.006314, allocations: 31.84 kB / 353 MB, free: 4.355 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001344/0.006448, allocations: 164.3 kB / 353.1 MB, free: 4.156 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.006572, allocations: 90.22 kB / 353.2 MB, free: 4.043 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.874e-05/0.00661, allocations: 35.3 kB / 353.2 MB, free: 4 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.404e-05/0.006624, allocations: 7.984 kB / 353.3 MB, free: 3.992 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001258/0.00675, allocations: 112.4 kB / 353.4 MB, free: 3.859 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 7.41e-07/0.006751, allocations: 0 / 353.4 MB, free: 3.859 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.000258/0.007009, allocations: 141.4 kB / 353.5 MB, free: 3.715 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.874e-05/0.007048, allocations: 132.5 kB / 353.6 MB, free: 3.555 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000166/0.007214, allocations: 262.7 kB / 353.9 MB, free: 3.277 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.007228, allocations: 33.7 kB / 353.9 MB, free: 3.238 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.426e-05/0.007272, allocations: 162.8 kB / 354.1 MB, free: 3.074 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.821e-05/0.007311, allocations: 27.78 kB / 354.1 MB, free: 3.047 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.831e-05/0.007349, allocations: 31.38 kB / 354.1 MB, free: 3.008 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.705e-05/0.007406, allocations: 0.504 MB / 354.6 MB, free: 2.492 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.861e-05/0.007435, allocations: 12.5 kB / 354.7 MB, free: 2.48 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.117e-05/0.007486, allocations: 133.2 kB / 354.8 MB, free: 2.316 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.15e-05/0.007557, allocations: 78.69 kB / 354.9 MB, free: 2.223 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.007559, allocations: 0 / 354.9 MB, free: 2.223 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000112/0.007671, allocations: 117.5 kB / 355 MB, free: 2.102 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.007685, allocations: 8 kB / 355 MB, free: 2.094 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.00769, allocations: 8.031 kB / 355 MB, free: 2.086 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.007704, allocations: 0 / 355 MB, free: 2.086 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.95e-05/0.007783, allocations: 27.92 kB / 355 MB, free: 2.059 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.007789, allocations: 0 / 355 MB, free: 2.059 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.142e-05/0.00783, allocations: 8 kB / 355 MB, free: 2.051 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.007837, allocations: 4 kB / 355 MB, free: 2.047 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.856e-05/0.007895, allocations: 168.6 kB / 355.2 MB, free: 1.871 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.158e-05/0.007917, allocations: 23.84 kB / 355.2 MB, free: 1.848 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001543/0.008071, allocations: 138.7 kB / 355.4 MB, free: 1.703 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.008074, allocations: 0 / 355.4 MB, free: 1.703 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.008078, allocations: 8.25 kB / 355.4 MB, free: 1.695 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.225e-05/0.00809, allocations: 0 / 355.4 MB, free: 1.695 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001028/0.008193, allocations: 168.5 kB / 355.5 MB, free: 1.496 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.008196, allocations: 3.984 kB / 355.5 MB, free: 1.492 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.527e-05/0.008221, allocations: 11.94 kB / 355.5 MB, free: 1.48 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.008223, allocations: 3.938 kB / 355.5 MB, free: 1.477 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.008233, allocations: 8 kB / 355.6 MB, free: 1.469 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.008234, allocations: 3.938 kB / 355.6 MB, free: 1.465 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.008235, allocations: 0 / 355.6 MB, free: 1.465 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001298/0.008365, allocations: 172 kB / 355.7 MB, free: 1.27 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.562e-05/0.008381, allocations: 15.91 kB / 355.7 MB, free: 1.254 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/0.008404, allocations: 7.984 kB / 355.8 MB, free: 1.246 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.395e-05/0.008438, allocations: 7.938 kB / 355.8 MB, free: 1.238 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.756e-05/0.008486, allocations: 15.92 kB / 355.8 MB, free: 1.223 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-05/0.0085, allocations: 8 kB / 355.8 MB, free: 1.215 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.81e-05/0.008578, allocations: 189.4 kB / 356 MB, free: 1.031 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008578, allocations: 0 / 356 MB, free: 1.031 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001789/0.008757, allocations: 35.94 kB / 356 MB, free: 0.9961 MB / 282.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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009021/0.009659, allocations: 445.9 kB / 356.4 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001382/0.009797, allocations: 75.59 kB / 356.5 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.009799, allocations: 0 / 356.5 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.305e-05/0.009842, allocations: 39.98 kB / 356.6 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002237/0.01007, allocations: 63.89 kB / 356.6 MB, free: 484 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003261/0.01039, allocations: 265.6 kB / 356.9 MB, free: 188 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.766e-05/0.01042, allocations: 71.98 kB / 356.9 MB, free: 96 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.48e-05/0.01047, allocations: 33.58 kB / 357 MB, free: 60 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.899e-05/0.01051, allocations: 36.42 kB / 357 MB, free: 24 kB / 282.7 MB Notification: Performance of SimCode: time 9.81e-07/0.01051, allocations: 0 / 357 MB, free: 24 kB / 282.7 MB Notification: Performance of Templates: time 0.004703/0.01522, allocations: 2.949 MB / 360 MB, free: 13.1 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.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.244008689187467]