Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.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.0007676/0.0007676, allocations: 84.44 kB / 20.69 MB, free: 3.871 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.000805/0.000805, allocations: 174.3 kB / 23.97 MB, free: 0.5977 MB / 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.8242/0.8242, allocations: 158.6 MB / 185.7 MB, free: 3.051 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.1323/0.1323, allocations: 32.37 MB / 270.4 MB, free: 14.96 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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 3.938 kB / 408.2 MB, free: 1.652 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.167e-05/2.34e-05, allocations: 2.281 kB / 408.2 MB, free: 1.648 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.002006/0.00203, allocations: 1.687 MB / 409.9 MB, free: 15.95 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008092/0.002839, allocations: 0.7764 MB / 410.6 MB, free: 15.16 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.77e-05/0.002896, allocations: 0 / 410.6 MB, free: 15.16 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002442/0.003141, allocations: 43.77 kB / 410.7 MB, free: 15.12 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001756/0.003316, allocations: 55.7 kB / 410.7 MB, free: 15.07 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001702/0.003486, allocations: 91.69 kB / 410.8 MB, free: 14.98 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001279/0.003614, allocations: 95.64 kB / 410.9 MB, free: 14.88 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.834e-05/0.003693, allocations: 4.234 kB / 410.9 MB, free: 14.88 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.121e-05/0.003764, allocations: 59.81 kB / 411 MB, free: 14.82 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.125e-05/0.003825, allocations: 19.92 kB / 411 MB, free: 14.8 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.003841, allocations: 4 kB / 411 MB, free: 14.8 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.828e-05/0.003909, allocations: 43.92 kB / 411.1 MB, free: 14.75 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 4.627e-05/0.003956, allocations: 23.91 kB / 411.1 MB, free: 14.73 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.221e-05/0.003988, allocations: 23.88 kB / 411.1 MB, free: 14.71 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001552/0.004143, allocations: 107.6 kB / 411.2 MB, free: 14.6 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.004145, allocations: 0 / 411.2 MB, free: 14.6 MB / 394.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.004146, allocations: 3.938 kB / 411.2 MB, free: 14.6 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.356e-06/0.00415, allocations: 7.938 kB / 411.2 MB, free: 14.59 MB / 394.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.0003658/0.004515, allocations: 325.7 kB / 411.5 MB, free: 14.24 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.93e-05/0.004545, allocations: 12.03 kB / 411.5 MB, free: 14.23 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.139e-05/0.004576, allocations: 8.891 kB / 411.6 MB, free: 14.22 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001592/0.004735, allocations: 141.7 kB / 411.7 MB, free: 14.06 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.004746, allocations: 4.375 kB / 411.7 MB, free: 14.05 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.527e-05/0.004761, allocations: 4.375 kB / 411.7 MB, free: 14.05 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001108/0.004872, allocations: 66.17 kB / 411.8 MB, free: 13.98 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.004881, allocations: 3.938 kB / 411.8 MB, free: 13.98 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.784e-06/0.004889, allocations: 0 / 411.8 MB, free: 13.98 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.004893, allocations: 0 / 411.8 MB, free: 13.98 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.934e-05/0.004942, allocations: 27.97 kB / 411.8 MB, free: 13.95 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002442/0.005186, allocations: 224.5 kB / 412 MB, free: 13.7 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001087/0.005295, allocations: 66.59 kB / 412.1 MB, free: 13.62 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.379e-05/0.005329, allocations: 24.78 kB / 412.1 MB, free: 13.6 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.216e-05/0.005341, allocations: 8 kB / 412.1 MB, free: 13.59 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.831e-05/0.005439, allocations: 63.39 kB / 412.2 MB, free: 13.52 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 9.52e-07/0.00544, allocations: 0 / 412.2 MB, free: 13.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003585/0.005799, allocations: 177.4 kB / 412.3 MB, free: 13.34 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.831e-05/0.005827, allocations: 55.41 kB / 412.4 MB, free: 13.27 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.005933, allocations: 182.2 kB / 412.6 MB, free: 13.08 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.668e-06/0.005943, allocations: 25.7 kB / 412.6 MB, free: 13.05 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.327e-05/0.005986, allocations: 96.14 kB / 412.7 MB, free: 12.95 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.531e-05/0.006011, allocations: 31.77 kB / 412.7 MB, free: 12.92 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.932e-05/0.006041, allocations: 25.72 kB / 412.8 MB, free: 12.89 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.24e-05/0.006113, allocations: 330.8 kB / 413.1 MB, free: 12.56 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.298e-05/0.006146, allocations: 15.98 kB / 413.1 MB, free: 12.54 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.991e-05/0.006186, allocations: 41.64 kB / 413.1 MB, free: 12.5 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.047e-05/0.006257, allocations: 65.64 kB / 413.2 MB, free: 12.43 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.006257, allocations: 0 / 413.2 MB, free: 12.43 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001109/0.006368, allocations: 109.5 kB / 413.3 MB, free: 12.31 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.006379, allocations: 4 kB / 413.3 MB, free: 12.31 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.006383, allocations: 0 / 413.3 MB, free: 12.31 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.278e-06/0.006392, allocations: 4.031 kB / 413.3 MB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.887e-05/0.006451, allocations: 16 kB / 413.3 MB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.006456, allocations: 4.328 kB / 413.3 MB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.549e-05/0.006481, allocations: 3.984 kB / 413.3 MB, free: 12.28 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.006486, allocations: 7.938 kB / 413.3 MB, free: 12.27 MB / 394.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.352e-05/0.006549, allocations: 129.7 kB / 413.5 MB, free: 12.14 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.025e-05/0.00656, allocations: 7.953 kB / 413.5 MB, free: 12.13 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001484/0.006708, allocations: 118.4 kB / 413.6 MB, free: 12.01 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.00671, allocations: 0 / 413.6 MB, free: 12.01 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.006715, allocations: 8.359 kB / 413.6 MB, free: 12 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.006718, allocations: 3.938 kB / 413.6 MB, free: 12 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002606/0.006979, allocations: 343 kB / 413.9 MB, free: 11.62 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.00698, allocations: 4 kB / 413.9 MB, free: 11.62 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.136e-05/0.007002, allocations: 11.94 kB / 414 MB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.007005, allocations: 4 kB / 414 MB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.007012, allocations: 3.984 kB / 414 MB, free: 11.6 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.007014, allocations: 0 / 414 MB, free: 11.6 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.007015, allocations: 0 / 414 MB, free: 11.6 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001272/0.007142, allocations: 212.2 kB / 414.2 MB, free: 11.38 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.129e-05/0.007153, allocations: 15.95 kB / 414.2 MB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/0.007167, allocations: 3.984 kB / 414.2 MB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.576e-05/0.007203, allocations: 4 kB / 414.2 MB, free: 11.35 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.671e-05/0.00723, allocations: 7.984 kB / 414.2 MB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.007244, allocations: 8 kB / 414.2 MB, free: 11.34 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.414e-05/0.007308, allocations: 131.2 kB / 414.3 MB, free: 11.21 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007308, allocations: 0 / 414.3 MB, free: 11.21 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001682/0.007476, allocations: 27.92 kB / 414.4 MB, free: 11.18 MB / 394.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.000684/0.00816, allocations: 0.4886 MB / 414.9 MB, free: 10.71 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001207/0.008281, allocations: 59.91 kB / 414.9 MB, free: 10.66 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.008283, allocations: 0 / 414.9 MB, free: 10.66 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.138e-05/0.008324, allocations: 31.92 kB / 414.9 MB, free: 10.62 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002117/0.008536, allocations: 33.53 kB / 415 MB, free: 10.59 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003231/0.008859, allocations: 248.1 kB / 415.2 MB, free: 10.31 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.483e-05/0.008914, allocations: 81.45 kB / 415.3 MB, free: 10.21 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.788e-05/0.008941, allocations: 20.48 kB / 415.3 MB, free: 10.19 MB / 394.7 MB Notification: Performance of SimCode: time 3.8e-07/0.008942, allocations: 0 / 415.3 MB, free: 10.19 MB / 394.7 MB Notification: Performance of Templates: time 0.002359/0.0113, allocations: 1.937 MB / 417.3 MB, free: 8.254 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.429016680456698]