Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.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.00066/0.00066, allocations: 80.45 kB / 20.69 MB, free: 3.875 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.0007557/0.0007557, allocations: 166.3 kB / 23.95 MB, free: 0.6094 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.8229/0.8229, allocations: 158.6 MB / 185.7 MB, free: 3.043 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.1232/0.1232, 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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 3.938 kB / 408.2 MB, free: 1.645 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.837e-05/3.018e-05, allocations: 2.281 kB / 408.2 MB, free: 1.641 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.002692/0.002722, allocations: 1.637 MB / 409.8 MB, free: 15.99 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.00104/0.003762, allocations: 0.7647 MB / 410.6 MB, free: 15.22 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.708e-05/0.003829, allocations: 0 / 410.6 MB, free: 15.22 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003228/0.004151, allocations: 67.67 kB / 410.7 MB, free: 15.15 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002216/0.004373, allocations: 67.67 kB / 410.7 MB, free: 15.09 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002024/0.004575, allocations: 87.7 kB / 410.8 MB, free: 15 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001653/0.004741, allocations: 99.67 kB / 410.9 MB, free: 14.9 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.242e-05/0.004783, allocations: 4 kB / 410.9 MB, free: 14.9 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.928e-05/0.004882, allocations: 59.77 kB / 411 MB, free: 14.84 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.793e-05/0.00498, allocations: 39.89 kB / 411 MB, free: 14.8 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.902e-05/0.004999, allocations: 4 kB / 411 MB, free: 14.8 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.596e-05/0.005075, allocations: 35.92 kB / 411 MB, free: 14.76 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.878e-05/0.005134, allocations: 19.92 kB / 411.1 MB, free: 14.74 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.919e-05/0.005173, allocations: 15.92 kB / 411.1 MB, free: 14.73 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001755/0.005349, allocations: 99.64 kB / 411.2 MB, free: 14.63 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.005351, allocations: 0 / 411.2 MB, free: 14.63 MB / 394.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.005352, allocations: 3.938 kB / 411.2 MB, free: 14.62 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.005357, allocations: 4 kB / 411.2 MB, free: 14.62 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004362/0.005793, allocations: 325.7 kB / 411.5 MB, free: 14.27 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.005828, allocations: 8.031 kB / 411.5 MB, free: 14.27 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.104e-05/0.005869, allocations: 12.89 kB / 411.5 MB, free: 14.25 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001939/0.006063, allocations: 149.5 kB / 411.7 MB, free: 14.08 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.006074, allocations: 384 / 411.7 MB, free: 14.08 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.174e-05/0.006086, allocations: 4.375 kB / 411.7 MB, free: 14.08 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001337/0.00622, allocations: 46.23 kB / 411.7 MB, free: 14.03 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.006229, allocations: 3.938 kB / 411.7 MB, free: 14.02 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.00624, allocations: 4 kB / 411.7 MB, free: 14.02 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.006244, allocations: 4 kB / 411.7 MB, free: 14.02 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.456e-05/0.006299, allocations: 15.98 kB / 411.7 MB, free: 14 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001453/0.006444, allocations: 133.3 kB / 411.9 MB, free: 13.84 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/0.006566, allocations: 54.55 kB / 411.9 MB, free: 13.78 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.972e-05/0.006606, allocations: 20.84 kB / 412 MB, free: 13.75 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.314e-05/0.006619, allocations: 4 kB / 412 MB, free: 13.75 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001139/0.006733, allocations: 63.39 kB / 412 MB, free: 13.68 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.183e-06/0.006734, allocations: 0 / 412 MB, free: 13.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002336/0.006968, allocations: 105.5 kB / 412.1 MB, free: 13.57 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.007003, allocations: 59.39 kB / 412.2 MB, free: 13.5 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001533/0.007156, allocations: 190.2 kB / 412.4 MB, free: 13.3 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.007168, allocations: 25.7 kB / 412.4 MB, free: 13.27 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.927e-05/0.007217, allocations: 100.1 kB / 412.5 MB, free: 13.17 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.941e-05/0.007247, allocations: 15.91 kB / 412.5 MB, free: 13.15 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.435e-05/0.007281, allocations: 21.7 kB / 412.5 MB, free: 13.12 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.259e-05/0.007374, allocations: 322.8 kB / 412.8 MB, free: 12.8 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.686e-05/0.007411, allocations: 15.98 kB / 412.9 MB, free: 12.79 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.549e-05/0.007456, allocations: 33.7 kB / 412.9 MB, free: 12.75 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.702e-05/0.007533, allocations: 49.64 kB / 412.9 MB, free: 12.69 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.007535, allocations: 0 / 412.9 MB, free: 12.69 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001206/0.007656, allocations: 81.59 kB / 413 MB, free: 12.61 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.007669, allocations: 4 kB / 413 MB, free: 12.6 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.485e-06/0.007676, allocations: 15.86 kB / 413 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.007688, allocations: 0 / 413 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.216e-05/0.00775, allocations: 8 kB / 413 MB, free: 12.58 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.389e-06/0.007755, allocations: 0 / 413 MB, free: 12.58 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.517e-05/0.00779, allocations: 4.031 kB / 413 MB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-06/0.007796, allocations: 4 kB / 413.1 MB, free: 12.57 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 (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 7.894e-05/0.007875, allocations: 129.8 kB / 413.2 MB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.332e-05/0.007888, allocations: 7.953 kB / 413.2 MB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001911/0.008079, allocations: 106.2 kB / 413.3 MB, free: 12.32 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.008083, allocations: 3.938 kB / 413.3 MB, free: 12.31 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.008087, allocations: 64 / 413.3 MB, free: 12.31 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.008091, allocations: 4 kB / 413.3 MB, free: 12.31 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.41e-05/0.008185, allocations: 133.2 kB / 413.4 MB, free: 12.15 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.008186, allocations: 0 / 413.4 MB, free: 12.15 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.526e-05/0.008212, allocations: 8 kB / 413.4 MB, free: 12.14 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.008214, allocations: 0 / 413.4 MB, free: 12.14 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.008222, allocations: 4 kB / 413.4 MB, free: 12.14 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.008225, allocations: 3.938 kB / 413.4 MB, free: 12.13 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.008225, allocations: 0 / 413.4 MB, free: 12.13 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001214/0.008347, allocations: 113 kB / 413.6 MB, free: 12 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.482e-05/0.008362, allocations: 19.88 kB / 413.6 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.008377, allocations: 4 kB / 413.6 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.071e-05/0.008397, allocations: 7.938 kB / 413.6 MB, free: 11.97 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.996e-05/0.008427, allocations: 7.922 kB / 413.6 MB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/0.008438, allocations: 4 kB / 413.6 MB, free: 11.96 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.528e-05/0.008513, allocations: 143.2 kB / 413.7 MB, free: 11.82 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008513, allocations: 0 / 413.7 MB, free: 11.82 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001406/0.008654, allocations: 19.98 kB / 413.8 MB, free: 11.8 MB / 394.7 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.0006887/0.009342, allocations: 445.5 kB / 414.2 MB, free: 11.39 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001316/0.009474, allocations: 39.98 kB / 414.2 MB, free: 11.35 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.009475, allocations: 0 / 414.2 MB, free: 11.35 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.822e-05/0.009513, allocations: 27.92 kB / 414.3 MB, free: 11.32 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001781/0.009692, allocations: 24.05 kB / 414.3 MB, free: 11.3 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003436/0.01004, allocations: 234.8 kB / 414.5 MB, free: 11.04 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.475e-05/0.01009, allocations: 83.31 kB / 414.6 MB, free: 10.94 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.515e-05/0.01012, allocations: 16.5 kB / 414.6 MB, free: 10.92 MB / 394.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01012, allocations: 0 / 414.6 MB, free: 10.92 MB / 394.7 MB Notification: Performance of Templates: time 0.002642/0.01276, allocations: 1.723 MB / 416.3 MB, free: 9.195 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.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.297955613583326]