Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.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.0013/0.0013, allocations: 88.2 kB / 20.94 MB, free: 3.609 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.001578/0.001578, allocations: 169.3 kB / 24.24 MB, free: 316 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 1.266/1.266, allocations: 158.6 MB / 186 MB, free: 2.926 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.1354/0.1354, allocations: 32.37 MB / 270.7 MB, free: 14.78 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.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 347.7 MB, free: 9.711 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.166e-05/2.35e-05, allocations: 2.312 kB / 347.7 MB, free: 9.707 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.002587/0.002611, allocations: 1.745 MB / 349.5 MB, free: 7.953 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.003776, allocations: 1.509 MB / 351 MB, free: 6.434 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.225e-05/0.003838, allocations: 4 kB / 351 MB, free: 6.43 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002176/0.004056, allocations: 35.83 kB / 351 MB, free: 6.395 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001798/0.004236, allocations: 63.62 kB / 351.1 MB, free: 6.332 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001534/0.004389, allocations: 83.7 kB / 351.2 MB, free: 6.25 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001071/0.004496, allocations: 111.6 kB / 351.3 MB, free: 6.141 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.926e-05/0.004566, allocations: 8.219 kB / 351.3 MB, free: 6.133 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.095e-05/0.004626, allocations: 47.89 kB / 351.3 MB, free: 6.086 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.903e-05/0.004705, allocations: 27.91 kB / 351.4 MB, free: 6.059 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.624e-05/0.004722, allocations: 8 kB / 351.4 MB, free: 6.051 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.068e-05/0.004802, allocations: 59.91 kB / 351.4 MB, free: 5.992 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.539e-05/0.004838, allocations: 15.92 kB / 351.5 MB, free: 5.977 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.028e-05/0.004868, allocations: 23.91 kB / 351.5 MB, free: 5.953 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000155/0.005023, allocations: 119.5 kB / 351.6 MB, free: 5.836 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.005025, allocations: 0 / 351.6 MB, free: 5.836 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.005025, allocations: 0 / 351.6 MB, free: 5.836 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.196e-06/0.005029, allocations: 4 kB / 351.6 MB, free: 5.832 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0002875/0.005316, allocations: 432 kB / 352 MB, free: 5.375 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.685e-05/0.005343, allocations: 8.031 kB / 352 MB, free: 5.367 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.477e-05/0.005378, allocations: 12.89 kB / 352 MB, free: 5.355 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.00549, allocations: 140.4 kB / 352.2 MB, free: 5.191 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.005504, allocations: 8.375 kB / 352.2 MB, free: 5.184 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.309e-05/0.005517, allocations: 384 / 352.2 MB, free: 5.184 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.915e-05/0.005617, allocations: 112 kB / 352.3 MB, free: 5.051 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-06/0.005624, allocations: 3.938 kB / 352.3 MB, free: 5.047 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.744e-06/0.005631, allocations: 4 kB / 352.3 MB, free: 5.043 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.005636, allocations: 0 / 352.3 MB, free: 5.043 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.976e-05/0.005666, allocations: 15.98 kB / 352.3 MB, free: 5.027 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002002/0.005866, allocations: 279.8 kB / 352.6 MB, free: 4.719 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.02e-05/0.005946, allocations: 47.17 kB / 352.6 MB, free: 4.66 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.454e-05/0.005971, allocations: 23.61 kB / 352.7 MB, free: 4.633 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.045e-06/0.005979, allocations: 0 / 352.7 MB, free: 4.633 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.842e-05/0.006047, allocations: 69.05 kB / 352.7 MB, free: 4.551 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 9.22e-07/0.006048, allocations: 3.938 kB / 352.7 MB, free: 4.547 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002888/0.006337, allocations: 157.5 kB / 352.9 MB, free: 4.387 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.18e-05/0.006359, allocations: 81.05 kB / 353 MB, free: 4.289 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.042e-05/0.006449, allocations: 205.2 kB / 353.2 MB, free: 4.074 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.335e-06/0.006457, allocations: 29.7 kB / 353.2 MB, free: 4.039 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.773e-05/0.006485, allocations: 142.9 kB / 353.3 MB, free: 3.895 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.76e-05/0.006503, allocations: 23.8 kB / 353.4 MB, free: 3.871 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.577e-05/0.006529, allocations: 31.36 kB / 353.4 MB, free: 3.832 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.459e-05/0.006573, allocations: 0.4962 MB / 353.9 MB, free: 3.324 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.933e-05/0.006592, allocations: 12 kB / 353.9 MB, free: 3.312 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.248e-05/0.006625, allocations: 68.75 kB / 354 MB, free: 3.227 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.587e-05/0.006671, allocations: 63.27 kB / 354 MB, free: 3.156 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.006672, allocations: 0 / 354 MB, free: 3.156 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.637e-05/0.006748, allocations: 89.58 kB / 354.1 MB, free: 3.062 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.328e-06/0.006757, allocations: 8 kB / 354.1 MB, free: 3.055 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.006761, allocations: 0 / 354.1 MB, free: 3.055 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.767e-06/0.006769, allocations: 0 / 354.1 MB, free: 3.055 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.671e-05/0.006826, allocations: 19.92 kB / 354.1 MB, free: 3.035 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.00683, allocations: 4 kB / 354.1 MB, free: 3.031 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.394e-05/0.006854, allocations: 0 / 354.1 MB, free: 3.031 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-06/0.006859, allocations: 8.031 kB / 354.2 MB, free: 3.023 MB / 282.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 4.563e-05/0.006905, allocations: 164.5 kB / 354.3 MB, free: 2.852 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.425e-05/0.006919, allocations: 15.95 kB / 354.3 MB, free: 2.836 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001126/0.007032, allocations: 102.5 kB / 354.4 MB, free: 2.73 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.007033, allocations: 0 / 354.4 MB, free: 2.73 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-06/0.007036, allocations: 0 / 354.4 MB, free: 2.73 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.007039, allocations: 4 kB / 354.4 MB, free: 2.727 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001951/0.007234, allocations: 385 kB / 354.8 MB, free: 2.305 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.007235, allocations: 0 / 354.8 MB, free: 2.305 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.992e-05/0.007255, allocations: 16.02 kB / 354.8 MB, free: 2.289 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.007256, allocations: 3.984 kB / 354.8 MB, free: 2.285 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.007263, allocations: 4 kB / 354.8 MB, free: 2.281 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.007264, allocations: 0 / 354.8 MB, free: 2.281 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.007265, allocations: 3.938 kB / 354.8 MB, free: 2.277 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.54e-05/0.007361, allocations: 259.5 kB / 355.1 MB, free: 2 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.444e-06/0.007368, allocations: 7.953 kB / 355.1 MB, free: 1.992 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.007384, allocations: 7.875 kB / 355.1 MB, free: 1.984 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.76e-05/0.007422, allocations: 7.984 kB / 355.1 MB, free: 1.977 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.431e-05/0.007446, allocations: 8 kB / 355.1 MB, free: 1.969 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/0.007456, allocations: 7.984 kB / 355.1 MB, free: 1.961 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.964e-05/0.007495, allocations: 158 kB / 355.3 MB, free: 1.809 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007495, allocations: 0 / 355.3 MB, free: 1.809 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001679/0.007663, allocations: 35.92 kB / 355.3 MB, free: 1.773 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: 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.0008493/0.008512, allocations: 476.7 kB / 355.8 MB, free: 1.398 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001262/0.008639, allocations: 59.59 kB / 355.8 MB, free: 1.336 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.008643, allocations: 4 kB / 355.8 MB, free: 1.332 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.206e-05/0.008695, allocations: 31.61 kB / 355.9 MB, free: 1.297 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003595/0.009054, allocations: 31.83 kB / 355.9 MB, free: 1.266 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004454/0.0095, allocations: 193.1 kB / 356.1 MB, free: 1.047 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.566e-05/0.009535, allocations: 71.23 kB / 356.2 MB, free: 0.957 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.184e-05/0.009587, allocations: 12.61 kB / 356.2 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.988e-05/0.009627, allocations: 28.48 kB / 356.2 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of SimCode: time 1.543e-06/0.009629, allocations: 0 / 356.2 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of Templates: time 0.005388/0.01502, allocations: 2.136 MB / 358.3 MB, free: 14.79 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.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.5879029468633235]