Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.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.0007935/0.0007935, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.0009292/0.0009292, allocations: 165.8 kB / 24.82 MB, free: 9.266 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 1.095/1.095, allocations: 177.1 MB / 205.3 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2759/0.2759, allocations: 32.81 MB / 294.6 MB, free: 1.238 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 376.6 MB, free: 4.316 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.645e-05/2.818e-05, allocations: 9.203 kB / 376.6 MB, free: 4.309 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.002686/0.002715, allocations: 1.762 MB / 378.3 MB, free: 2.531 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001436/0.004151, allocations: 0.9897 MB / 379.3 MB, free: 1.535 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001054/0.004256, allocations: 0 / 379.3 MB, free: 1.535 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003038/0.00456, allocations: 55.69 kB / 379.4 MB, free: 1.48 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003219/0.004882, allocations: 103.5 kB / 379.5 MB, free: 1.379 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002092/0.005091, allocations: 79.59 kB / 379.6 MB, free: 1.301 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001665/0.005257, allocations: 103.7 kB / 379.7 MB, free: 1.199 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.668e-05/0.005344, allocations: 8 kB / 379.7 MB, free: 1.191 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.484e-05/0.005439, allocations: 59.75 kB / 379.7 MB, free: 1.133 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.115e-05/0.00551, allocations: 27.92 kB / 379.7 MB, free: 1.105 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.005525, allocations: 4 kB / 379.8 MB, free: 1.102 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.759e-05/0.005612, allocations: 47.91 kB / 379.8 MB, free: 1.055 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.832e-05/0.00566, allocations: 31.86 kB / 379.8 MB, free: 1.023 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.823e-05/0.005699, allocations: 19.92 kB / 379.8 MB, free: 1.004 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001662/0.005865, allocations: 103.6 kB / 379.9 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.005868, allocations: 0 / 379.9 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.00587, allocations: 3.938 kB / 380 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.005874, allocations: 0 / 380 MB, free: 0.8984 MB / 346.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.0004205/0.006294, allocations: 463.7 kB / 380.4 MB, free: 420 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.006329, allocations: 12.03 kB / 380.4 MB, free: 408 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.689e-05/0.006366, allocations: 16.84 kB / 380.4 MB, free: 392 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.006506, allocations: 153.2 kB / 380.6 MB, free: 208 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.006521, allocations: 4.375 kB / 380.6 MB, free: 204 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.48e-05/0.006536, allocations: 8.359 kB / 380.6 MB, free: 196 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.675e-05/0.006632, allocations: 58.94 kB / 380.7 MB, free: 128 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.00664, allocations: 7.875 kB / 380.7 MB, free: 120 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.833e-06/0.006647, allocations: 0 / 380.7 MB, free: 120 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.006654, allocations: 0 / 380.7 MB, free: 120 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.525e-05/0.006679, allocations: 16 kB / 380.7 MB, free: 104 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002579/0.006937, allocations: 268.4 kB / 380.9 MB, free: 15.81 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.077e-05/0.007018, allocations: 55.09 kB / 381 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.891e-05/0.007037, allocations: 11.69 kB / 381 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.403e-05/0.007051, allocations: 4 kB / 381 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.52e-05/0.007136, allocations: 68.97 kB / 381.1 MB, free: 15.64 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.007137, allocations: 4 kB / 381.1 MB, free: 15.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002886/0.007425, allocations: 137.4 kB / 381.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.349e-05/0.007449, allocations: 51.41 kB / 381.3 MB, free: 15.44 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.007572, allocations: 251 kB / 381.5 MB, free: 15.18 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.007586, allocations: 33.7 kB / 381.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.099e-05/0.007647, allocations: 158.8 kB / 381.7 MB, free: 14.98 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.47e-05/0.007672, allocations: 27.77 kB / 381.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.151e-05/0.007703, allocations: 31.31 kB / 381.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003869/0.00809, allocations: 0.5079 MB / 382.3 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.897e-05/0.008109, allocations: 4 kB / 382.3 MB, free: 14.39 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.861e-05/0.008138, allocations: 39.28 kB / 382.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.101e-05/0.008179, allocations: 35.38 kB / 382.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.00818, allocations: 4 kB / 382.3 MB, free: 14.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.702e-05/0.008277, allocations: 101.4 kB / 382.4 MB, free: 14.19 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.008289, allocations: 6.031 kB / 382.4 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.008294, allocations: 4 kB / 382.5 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.008304, allocations: 0 / 382.5 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.564e-05/0.00836, allocations: 12 kB / 382.5 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.344e-06/0.008362, allocations: 0 / 382.5 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.902e-05/0.008391, allocations: 7.984 kB / 382.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.498e-06/0.008396, allocations: 0 / 382.5 MB, free: 14.16 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 6.721e-05/0.008463, allocations: 164.5 kB / 382.6 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.85e-05/0.008482, allocations: 23.88 kB / 382.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001234/0.008605, allocations: 107.2 kB / 382.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.008607, allocations: 4 kB / 382.8 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-06/0.008609, allocations: 0 / 382.8 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.008612, allocations: 0 / 382.8 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002409/0.008853, allocations: 369.9 kB / 383.1 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.008855, allocations: 0 / 383.1 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.403e-05/0.008879, allocations: 12 kB / 383.1 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.125e-06/0.008882, allocations: 4 kB / 383.1 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.22e-06/0.008887, allocations: 0 / 383.1 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.008889, allocations: 4.031 kB / 383.1 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.008891, allocations: 4 kB / 383.1 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001262/0.009017, allocations: 251.4 kB / 383.4 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.439e-05/0.009031, allocations: 15.94 kB / 383.4 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.009046, allocations: 4 kB / 383.4 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.048e-05/0.009087, allocations: 3.984 kB / 383.4 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.285e-05/0.00911, allocations: 7.984 kB / 383.4 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.009121, allocations: 8 kB / 383.4 MB, free: 13.12 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.576e-05/0.009187, allocations: 175.1 kB / 383.6 MB, free: 12.95 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009187, allocations: 0 / 383.6 MB, free: 12.95 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001657/0.009352, allocations: 27.89 kB / 383.6 MB, free: 12.92 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.0008802/0.01023, allocations: 438.2 kB / 384.1 MB, free: 12.65 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.064e-05/0.01032, allocations: 47.66 kB / 384.1 MB, free: 12.6 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01032, allocations: 0 / 384.1 MB, free: 12.6 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.114e-05/0.01036, allocations: 31.59 kB / 384.1 MB, free: 12.56 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002084/0.01056, allocations: 35.55 kB / 384.2 MB, free: 12.53 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002892/0.01085, allocations: 237.7 kB / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.891e-05/0.01089, allocations: 71.33 kB / 384.5 MB, free: 12.18 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.881e-05/0.01093, allocations: 17.28 kB / 384.5 MB, free: 12.16 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.552e-05/0.011, allocations: 94.11 kB / 384.6 MB, free: 12.07 MB / 362.7 MB Notification: Performance of SimCode: time 6.21e-07/0.011, allocations: 0 / 384.6 MB, free: 12.07 MB / 362.7 MB Notification: Performance of Templates: time 0.003512/0.01451, allocations: 2.048 MB / 386.6 MB, free: 10.05 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.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.125589326955378]