Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.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.001323/0.001323, 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.0009622/0.0009622, allocations: 169.9 kB / 24.91 MB, free: 9.195 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.9658/0.9658, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.2508/0.2508, allocations: 32.82 MB / 294.6 MB, free: 1.242 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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 323.3 MB, free: 9.617 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.477e-05/2.628e-05, allocations: 3.156 kB / 323.3 MB, free: 9.613 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.003573/0.003599, allocations: 1.756 MB / 325.1 MB, free: 7.848 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001812/0.005411, allocations: 1.001 MB / 326.1 MB, free: 6.84 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.005521, allocations: 4 kB / 326.1 MB, free: 6.836 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003411/0.005862, allocations: 43.7 kB / 326.1 MB, free: 6.793 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004105/0.006273, allocations: 103.5 kB / 326.2 MB, free: 6.691 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002664/0.006539, allocations: 71.67 kB / 326.3 MB, free: 6.621 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00023/0.006769, allocations: 119.5 kB / 326.4 MB, free: 6.504 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.006879, allocations: 5.375 kB / 326.4 MB, free: 6.5 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001291/0.007009, allocations: 51.83 kB / 326.5 MB, free: 6.449 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.299e-05/0.007102, allocations: 27.91 kB / 326.5 MB, free: 6.422 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.964e-05/0.007121, allocations: 4 kB / 326.5 MB, free: 6.418 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000115/0.007236, allocations: 43.92 kB / 326.5 MB, free: 6.375 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.411e-05/0.00729, allocations: 23.86 kB / 326.6 MB, free: 6.352 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.125e-05/0.007332, allocations: 27.91 kB / 326.6 MB, free: 6.324 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001922/0.007524, allocations: 99.66 kB / 326.7 MB, free: 6.227 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.007528, allocations: 0 / 326.7 MB, free: 6.227 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.007529, allocations: 0 / 326.7 MB, free: 6.227 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.007533, allocations: 0 / 326.7 MB, free: 6.227 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.0004596/0.007993, allocations: 329.2 kB / 327 MB, free: 5.883 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.008033, allocations: 12.03 kB / 327 MB, free: 5.871 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.363e-05/0.008077, allocations: 4.938 kB / 327 MB, free: 5.867 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001994/0.008276, allocations: 147.4 kB / 327.2 MB, free: 5.699 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.008293, allocations: 8.375 kB / 327.2 MB, free: 5.691 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.091e-05/0.008314, allocations: 384 / 327.2 MB, free: 5.691 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/0.008439, allocations: 65.77 kB / 327.2 MB, free: 5.617 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.008449, allocations: 7.938 kB / 327.3 MB, free: 5.609 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-06/0.008457, allocations: 0 / 327.3 MB, free: 5.609 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.008463, allocations: 0 / 327.3 MB, free: 5.609 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.259e-05/0.008495, allocations: 15.92 kB / 327.3 MB, free: 5.594 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002857/0.008781, allocations: 158 kB / 327.4 MB, free: 5.422 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001553/0.008936, allocations: 89.34 kB / 327.5 MB, free: 5.324 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.241e-05/0.008959, allocations: 16.84 kB / 327.5 MB, free: 5.305 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.512e-05/0.008974, allocations: 0 / 327.5 MB, free: 5.305 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001069/0.009081, allocations: 70.16 kB / 327.6 MB, free: 5.223 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.593e-06/0.009082, allocations: 0 / 327.6 MB, free: 5.223 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003174/0.0094, allocations: 117.5 kB / 327.7 MB, free: 5.102 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/0.009432, allocations: 55.34 kB / 327.8 MB, free: 5.035 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.009541, allocations: 180.8 kB / 327.9 MB, free: 4.844 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.009556, allocations: 29.7 kB / 328 MB, free: 4.809 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.969e-05/0.009586, allocations: 92.11 kB / 328.1 MB, free: 4.715 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.478e-05/0.009611, allocations: 27.78 kB / 328.1 MB, free: 4.688 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.234e-05/0.009643, allocations: 25.7 kB / 328.1 MB, free: 4.656 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.919e-05/0.009722, allocations: 322.8 kB / 328.4 MB, free: 4.332 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.008e-05/0.009742, allocations: 14.83 kB / 328.4 MB, free: 4.316 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.324e-05/0.009765, allocations: 21.7 kB / 328.5 MB, free: 4.289 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.21e-05/0.009808, allocations: 52.52 kB / 328.5 MB, free: 4.23 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.009808, allocations: 0 / 328.5 MB, free: 4.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.33e-05/0.009882, allocations: 72.38 kB / 328.6 MB, free: 4.152 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.009895, allocations: 4 kB / 328.6 MB, free: 4.148 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.0099, allocations: 4 kB / 328.6 MB, free: 4.145 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.009912, allocations: 0 / 328.6 MB, free: 4.145 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.747e-05/0.00998, allocations: 23.92 kB / 328.6 MB, free: 4.121 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-06/0.009983, allocations: 4.031 kB / 328.6 MB, free: 4.117 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.185e-05/0.01001, allocations: 4.375 kB / 328.6 MB, free: 4.113 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.01002, allocations: 0 / 328.6 MB, free: 4.113 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 6.798e-05/0.01009, allocations: 120.7 kB / 328.7 MB, free: 3.984 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.206e-05/0.0101, allocations: 11.94 kB / 328.8 MB, free: 3.973 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001083/0.01021, allocations: 79.06 kB / 328.8 MB, free: 3.887 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.01021, allocations: 0 / 328.8 MB, free: 3.887 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.01021, allocations: 4 kB / 328.8 MB, free: 3.883 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.01022, allocations: 0 / 328.8 MB, free: 3.883 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002302/0.01045, allocations: 299.4 kB / 329.1 MB, free: 3.562 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.01045, allocations: 0 / 329.1 MB, free: 3.562 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.479e-05/0.01047, allocations: 11.98 kB / 329.1 MB, free: 3.551 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.01047, allocations: 0 / 329.1 MB, free: 3.551 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-06/0.01048, allocations: 8 kB / 329.1 MB, free: 3.543 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.01048, allocations: 0 / 329.1 MB, free: 3.543 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.01048, allocations: 0 / 329.1 MB, free: 3.543 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001086/0.01059, allocations: 215 kB / 329.4 MB, free: 3.312 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.111e-05/0.0106, allocations: 7.953 kB / 329.4 MB, free: 3.305 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/0.01062, allocations: 11.98 kB / 329.4 MB, free: 3.293 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.868e-05/0.01066, allocations: 0 / 329.4 MB, free: 3.293 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.524e-05/0.01068, allocations: 12.02 kB / 329.4 MB, free: 3.281 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.0107, allocations: 4 kB / 329.4 MB, free: 3.277 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.081e-05/0.01074, allocations: 51.64 kB / 329.4 MB, free: 3.223 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01074, allocations: 0 / 329.4 MB, free: 3.223 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001467/0.01088, allocations: 23.94 kB / 329.5 MB, free: 3.199 MB / 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.001321/0.01221, allocations: 0.5917 MB / 330.1 MB, free: 2.914 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001035/0.01231, allocations: 36.78 kB / 330.1 MB, free: 2.875 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.01231, allocations: 0 / 330.1 MB, free: 2.875 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.274e-05/0.01235, allocations: 28.83 kB / 330.1 MB, free: 2.844 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001889/0.01254, allocations: 35.91 kB / 330.2 MB, free: 2.809 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003292/0.01286, allocations: 219.8 kB / 330.4 MB, free: 2.562 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.907e-05/0.0129, allocations: 67.34 kB / 330.4 MB, free: 2.477 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.484e-05/0.01294, allocations: 17.28 kB / 330.5 MB, free: 2.457 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.152e-05/0.01301, allocations: 67.36 kB / 330.5 MB, free: 2.391 MB / 298.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01301, allocations: 0 / 330.5 MB, free: 2.391 MB / 298.7 MB Notification: Performance of Templates: time 0.003539/0.01655, allocations: 2.017 MB / 332.5 MB, free: 416 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.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.895046024117619]