Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.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.0009907/0.0009907, allocations: 80.8 kB / 21.49 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.001084/0.001084, allocations: 172.2 kB / 24.92 MB, free: 9.113 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.017/1.017, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.268/0.268, allocations: 34.26 MB / 296.1 MB, free: 0.7031 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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 325.4 MB, free: 7.543 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.298e-05/2.453e-05, allocations: 5.438 kB / 325.4 MB, free: 7.539 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003202/0.003226, allocations: 1.802 MB / 327.2 MB, free: 5.723 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00168/0.004906, allocations: 1.01 MB / 328.2 MB, free: 4.707 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.327e-05/0.004989, allocations: 4 kB / 328.2 MB, free: 4.703 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003455/0.005335, allocations: 75.64 kB / 328.3 MB, free: 4.629 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003371/0.005672, allocations: 115.4 kB / 328.4 MB, free: 4.516 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002177/0.00589, allocations: 83.55 kB / 328.5 MB, free: 4.434 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000191/0.006081, allocations: 120.2 kB / 328.6 MB, free: 4.316 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.636e-05/0.006167, allocations: 8 kB / 328.6 MB, free: 4.309 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000114/0.006281, allocations: 71.73 kB / 328.7 MB, free: 4.238 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/0.006388, allocations: 47.89 kB / 328.7 MB, free: 4.191 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.006405, allocations: 4 kB / 328.7 MB, free: 4.188 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.702e-05/0.006502, allocations: 51.91 kB / 328.8 MB, free: 4.137 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.239e-05/0.006554, allocations: 23.86 kB / 328.8 MB, free: 4.113 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.838e-05/0.006592, allocations: 15.94 kB / 328.8 MB, free: 4.098 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001997/0.006792, allocations: 107.6 kB / 328.9 MB, free: 3.992 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.006794, allocations: 0 / 328.9 MB, free: 3.992 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.006795, allocations: 0 / 328.9 MB, free: 3.992 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.0068, allocations: 4 kB / 328.9 MB, free: 3.988 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.0004193/0.007219, allocations: 333.4 kB / 329.2 MB, free: 3.641 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.007255, allocations: 12.03 kB / 329.2 MB, free: 3.629 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.49e-05/0.00729, allocations: 4.938 kB / 329.3 MB, free: 3.625 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001883/0.007478, allocations: 153.5 kB / 329.4 MB, free: 3.449 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.007497, allocations: 4.375 kB / 329.4 MB, free: 3.445 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.763e-05/0.007515, allocations: 4.375 kB / 329.4 MB, free: 3.441 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000115/0.00763, allocations: 61.7 kB / 329.5 MB, free: 3.371 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.007641, allocations: 3.938 kB / 329.5 MB, free: 3.367 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.007651, allocations: 8 kB / 329.5 MB, free: 3.359 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.007656, allocations: 0 / 329.5 MB, free: 3.359 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.867e-05/0.007685, allocations: 11.98 kB / 329.5 MB, free: 3.348 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002385/0.007924, allocations: 166 kB / 329.7 MB, free: 3.168 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001073/0.008031, allocations: 89.34 kB / 329.7 MB, free: 3.07 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.36e-05/0.008054, allocations: 16.78 kB / 329.8 MB, free: 3.051 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.299e-05/0.008067, allocations: 4 kB / 329.8 MB, free: 3.047 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001033/0.008171, allocations: 66.16 kB / 329.8 MB, free: 2.969 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.008172, allocations: 0 / 329.8 MB, free: 2.969 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003352/0.008507, allocations: 109.7 kB / 329.9 MB, free: 2.855 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/0.008544, allocations: 59.41 kB / 330 MB, free: 2.785 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001951/0.008739, allocations: 185.1 kB / 330.2 MB, free: 2.586 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.008757, allocations: 25.7 kB / 330.2 MB, free: 2.555 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.419e-05/0.008801, allocations: 100.1 kB / 330.3 MB, free: 2.453 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.569e-05/0.008837, allocations: 23.8 kB / 330.3 MB, free: 2.43 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.363e-05/0.008881, allocations: 25.69 kB / 330.3 MB, free: 2.398 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.008984, allocations: 330.8 kB / 330.7 MB, free: 2.066 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.286e-05/0.009006, allocations: 10.83 kB / 330.7 MB, free: 2.055 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.263e-05/0.009039, allocations: 29.7 kB / 330.7 MB, free: 2.02 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.919e-05/0.009098, allocations: 48.52 kB / 330.8 MB, free: 1.965 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.009099, allocations: 0 / 330.8 MB, free: 1.965 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001101/0.00921, allocations: 76.38 kB / 330.8 MB, free: 1.883 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.009226, allocations: 8 kB / 330.8 MB, free: 1.875 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.009231, allocations: 0 / 330.8 MB, free: 1.875 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.009246, allocations: 0 / 330.8 MB, free: 1.875 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.027e-05/0.009326, allocations: 15.98 kB / 330.9 MB, free: 1.859 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.009331, allocations: 4 kB / 330.9 MB, free: 1.855 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.8e-05/0.009369, allocations: 0 / 330.9 MB, free: 1.855 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-06/0.009375, allocations: 0 / 330.9 MB, free: 1.855 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 8.212e-05/0.009458, allocations: 124.6 kB / 331 MB, free: 1.723 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.233e-05/0.00948, allocations: 19.91 kB / 331 MB, free: 1.703 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001728/0.009653, allocations: 75.12 kB / 331.1 MB, free: 1.621 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.009657, allocations: 4 kB / 331.1 MB, free: 1.617 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.644e-06/0.009658, allocations: 0 / 331.1 MB, free: 1.617 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.009662, allocations: 0 / 331.1 MB, free: 1.617 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002549/0.009917, allocations: 299.5 kB / 331.4 MB, free: 1.297 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.009918, allocations: 0 / 331.4 MB, free: 1.297 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.233e-05/0.00995, allocations: 19.92 kB / 331.4 MB, free: 1.277 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.009953, allocations: 0 / 331.4 MB, free: 1.277 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.009959, allocations: 8.031 kB / 331.4 MB, free: 1.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.009961, allocations: 0 / 331.4 MB, free: 1.27 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.009961, allocations: 0 / 331.4 MB, free: 1.27 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.434e-05/0.01006, allocations: 211 kB / 331.6 MB, free: 1.039 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.108e-05/0.01007, allocations: 11.95 kB / 331.6 MB, free: 1.027 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.01008, allocations: 7.984 kB / 331.6 MB, free: 1.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.141e-05/0.01012, allocations: 0 / 331.6 MB, free: 1.02 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.377e-05/0.01015, allocations: 7.984 kB / 331.6 MB, free: 1.012 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.01016, allocations: 4 kB / 331.6 MB, free: 1.008 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.721e-05/0.01021, allocations: 65.53 kB / 331.7 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01021, allocations: 4 kB / 331.7 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001385/0.01035, allocations: 23.94 kB / 331.7 MB, free: 0.9141 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.001263/0.01161, allocations: 0.5764 MB / 332.3 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.564e-05/0.01169, allocations: 40.78 kB / 332.3 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.0117, allocations: 4 kB / 332.3 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.058e-05/0.01173, allocations: 28.78 kB / 332.4 MB, free: 0.5625 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001822/0.01191, allocations: 39.05 kB / 332.4 MB, free: 0.5273 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003565/0.01227, allocations: 230.4 kB / 332.6 MB, free: 280 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.818e-05/0.0123, allocations: 71.33 kB / 332.7 MB, free: 188 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.76e-05/0.01234, allocations: 25.38 kB / 332.7 MB, free: 160 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.859e-05/0.0124, allocations: 63.38 kB / 332.8 MB, free: 96 kB / 298.7 MB Notification: Performance of SimCode: time 4.21e-07/0.0124, allocations: 0 / 332.8 MB, free: 96 kB / 298.7 MB Notification: Performance of Templates: time 0.003443/0.01584, allocations: 2.023 MB / 334.8 MB, free: 14.11 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.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.896866868250072]