Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.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.001997/0.001997, allocations: 75.59 kB / 19.93 MB, free: 1.77 MB / 14.72 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.002116/0.002116, allocations: 170.5 kB / 23.22 MB, free: 4.887 MB / 14.72 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.755/1.755, allocations: 158.6 MB / 185 MB, free: 6.402 MB / 174.1 MB " [Timeout remaining time 178] 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.2412/0.2412, allocations: 32.37 MB / 269.6 MB, free: 4.66 MB / 254.1 MB " [Timeout remaining time 179] 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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.337e-06/3.337e-06, allocations: 0 / 407.4 MB, free: 2.93 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 6.272e-05/6.606e-05, allocations: 6.281 kB / 407.4 MB, free: 2.922 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.007783/0.007849, allocations: 1.643 MB / 409.1 MB, free: 1.27 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002882/0.01073, allocations: 0.7568 MB / 409.8 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001377/0.01087, allocations: 4 kB / 409.8 MB, free: 0.5 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005435/0.01141, allocations: 67.72 kB / 409.9 MB, free: 444 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004655/0.01188, allocations: 67.67 kB / 410 MB, free: 376 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005363/0.01241, allocations: 91.02 kB / 410.1 MB, free: 288 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003402/0.01275, allocations: 95.69 kB / 410.2 MB, free: 192 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.784e-05/0.01281, allocations: 11.92 kB / 410.2 MB, free: 180 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002176/0.01303, allocations: 59.77 kB / 410.2 MB, free: 120 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001921/0.01322, allocations: 35.89 kB / 410.3 MB, free: 84 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.624e-05/0.01326, allocations: 4 kB / 410.3 MB, free: 80 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001324/0.01339, allocations: 35.92 kB / 410.3 MB, free: 44 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.498e-05/0.01347, allocations: 23.92 kB / 410.3 MB, free: 20 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.927e-05/0.01355, allocations: 19.92 kB / 410.3 MB, free: 0 / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004109/0.01396, allocations: 95.77 kB / 410.4 MB, free: 15.9 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.01396, allocations: 0 / 410.4 MB, free: 15.9 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.01396, allocations: 0 / 410.4 MB, free: 15.9 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.01397, allocations: 4 kB / 410.4 MB, free: 15.9 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0009177/0.01489, allocations: 329.6 kB / 410.8 MB, free: 15.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.974e-05/0.01495, allocations: 12.03 kB / 410.8 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.929e-05/0.01503, allocations: 8.891 kB / 410.8 MB, free: 15.53 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004954/0.01552, allocations: 147.8 kB / 410.9 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.233e-05/0.01554, allocations: 4.375 kB / 410.9 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.537e-05/0.01556, allocations: 4.375 kB / 410.9 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002465/0.01581, allocations: 54.22 kB / 411 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/0.01582, allocations: 3.938 kB / 411 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.01584, allocations: 0 / 411 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.01585, allocations: 0 / 411 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001564/0.016, allocations: 19.92 kB / 411 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003026/0.01631, allocations: 137.3 kB / 411.1 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003135/0.01662, allocations: 50.61 kB / 411.2 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001174/0.01674, allocations: 20.86 kB / 411.2 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.435e-05/0.01676, allocations: 0 / 411.2 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002479/0.01701, allocations: 67.38 kB / 411.3 MB, free: 14.95 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 2.755e-06/0.01701, allocations: 0 / 411.3 MB, free: 14.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004995/0.01751, allocations: 105.5 kB / 411.4 MB, free: 14.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.797e-05/0.0176, allocations: 55.41 kB / 411.4 MB, free: 14.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003555/0.01796, allocations: 190.2 kB / 411.6 MB, free: 14.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.817e-05/0.018, allocations: 25.7 kB / 411.7 MB, free: 14.54 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.01812, allocations: 104.1 kB / 411.8 MB, free: 14.44 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.913e-05/0.01818, allocations: 15.91 kB / 411.8 MB, free: 14.42 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.088e-05/0.01825, allocations: 17.72 kB / 411.8 MB, free: 14.4 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002689/0.01852, allocations: 322.8 kB / 412.1 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.888e-05/0.01862, allocations: 15.98 kB / 412.1 MB, free: 14.06 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.01874, allocations: 33.7 kB / 412.2 MB, free: 14.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001995/0.01894, allocations: 49.64 kB / 412.2 MB, free: 13.96 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.01894, allocations: 0 / 412.2 MB, free: 13.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003218/0.01926, allocations: 77.58 kB / 412.3 MB, free: 13.88 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.814e-05/0.01929, allocations: 12.03 kB / 412.3 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.0193, allocations: 7.875 kB / 412.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.382e-05/0.01932, allocations: 0 / 412.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.01948, allocations: 11.98 kB / 412.3 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.01949, allocations: 4 kB / 412.3 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.128e-05/0.01958, allocations: 11.89 kB / 412.3 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.184e-05/0.0196, allocations: 4 kB / 412.3 MB, free: 13.83 MB / 350.1 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 (7): * Single equations (assignments): 7 * 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 0.0001795/0.01978, allocations: 121.8 kB / 412.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.232e-05/0.01982, allocations: 7.953 kB / 412.5 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003781/0.0202, allocations: 102 kB / 412.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.02021, allocations: 4 kB / 412.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.02021, allocations: 0 / 412.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.02022, allocations: 0 / 412.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002188/0.02044, allocations: 125.3 kB / 412.7 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.194e-06/0.02044, allocations: 4.359 kB / 412.7 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.666e-05/0.02049, allocations: 4 kB / 412.7 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/0.0205, allocations: 4 kB / 412.7 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/0.02052, allocations: 4 kB / 412.7 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.953e-06/0.02052, allocations: 3.938 kB / 412.7 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.02052, allocations: 0 / 412.7 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003891/0.02091, allocations: 125 kB / 412.8 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.442e-05/0.02095, allocations: 7.891 kB / 412.8 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.51e-05/0.02099, allocations: 8 kB / 412.8 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.691e-05/0.02107, allocations: 7.922 kB / 412.8 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.068e-05/0.02112, allocations: 4 kB / 412.8 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.892e-05/0.02114, allocations: 0 / 412.8 MB, free: 13.25 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002544/0.02139, allocations: 147.2 kB / 413 MB, free: 13.1 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.02139, allocations: 0 / 413 MB, free: 13.1 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004008/0.0218, allocations: 16 kB / 413 MB, free: 13.09 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.002674/0.02447, allocations: 446.1 kB / 413.4 MB, free: 12.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003244/0.02479, allocations: 47.92 kB / 413.5 MB, free: 12.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.0248, allocations: 0 / 413.5 MB, free: 12.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001433/0.02494, allocations: 19.98 kB / 413.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004826/0.02542, allocations: 31.91 kB / 413.5 MB, free: 12.63 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008913/0.02632, allocations: 197.3 kB / 413.7 MB, free: 12.41 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001661/0.02648, allocations: 87.17 kB / 413.8 MB, free: 12.3 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.26e-05/0.02656, allocations: 16.55 kB / 413.8 MB, free: 12.29 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.238e-05/0.02663, allocations: 12.5 kB / 413.8 MB, free: 12.28 MB / 350.1 MB Notification: Performance of SimCode: time 7.82e-07/0.02663, allocations: 0 / 413.8 MB, free: 12.28 MB / 350.1 MB Notification: Performance of Templates: time 0.009701/0.03633, allocations: 1.592 MB / 415.4 MB, free: 10.7 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.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: 5.397339507937431]