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.0006486/0.0006486, 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.0007539/0.0007539, allocations: 166.3 kB / 23.96 MB, free: 0.6055 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.8818/0.8818, allocations: 158.6 MB / 185.7 MB, free: 3.027 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.1353/0.1353, 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.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 1.372e-06/1.372e-06, allocations: 0 / 408.2 MB, free: 12.95 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.54e-05/2.677e-05, allocations: 5.656 kB / 408.2 MB, free: 12.94 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.002127/0.002154, allocations: 1.645 MB / 409.8 MB, free: 11.29 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008432/0.002997, allocations: 0.7568 MB / 410.6 MB, free: 10.52 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.351e-05/0.003051, allocations: 3.938 kB / 410.6 MB, free: 10.52 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002748/0.003326, allocations: 71.77 kB / 410.7 MB, free: 10.45 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001818/0.003507, allocations: 63.69 kB / 410.7 MB, free: 10.38 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001591/0.003666, allocations: 83.7 kB / 410.8 MB, free: 10.3 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001386/0.003805, allocations: 103.6 kB / 410.9 MB, free: 10.2 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.85e-05/0.003844, allocations: 4 kB / 410.9 MB, free: 10.2 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.003961, allocations: 55.81 kB / 411 MB, free: 10.14 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.182e-05/0.004043, allocations: 39.91 kB / 411 MB, free: 10.1 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.00406, allocations: 4 kB / 411 MB, free: 10.1 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.545e-05/0.004125, allocations: 39.91 kB / 411 MB, free: 10.06 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.715e-05/0.004172, allocations: 19.86 kB / 411.1 MB, free: 10.04 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.467e-05/0.004207, allocations: 15.94 kB / 411.1 MB, free: 10.02 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001511/0.004358, allocations: 103.6 kB / 411.2 MB, free: 9.922 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.004362, allocations: 3.984 kB / 411.2 MB, free: 9.918 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.004363, allocations: 0 / 411.2 MB, free: 9.918 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.004367, allocations: 0 / 411.2 MB, free: 9.918 MB / 346.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.0003692/0.004737, allocations: 329.6 kB / 411.5 MB, free: 9.566 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.004769, allocations: 8.031 kB / 411.5 MB, free: 9.559 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.315e-05/0.004802, allocations: 8.891 kB / 411.5 MB, free: 9.551 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001796/0.004981, allocations: 155.7 kB / 411.7 MB, free: 9.375 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.004992, allocations: 384 / 411.7 MB, free: 9.375 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.478e-06/0.005002, allocations: 384 / 411.7 MB, free: 9.375 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001064/0.005108, allocations: 58.17 kB / 411.7 MB, free: 9.312 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.005115, allocations: 3.938 kB / 411.7 MB, free: 9.309 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.005123, allocations: 0 / 411.7 MB, free: 9.309 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.005127, allocations: 0 / 411.7 MB, free: 9.309 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.469e-05/0.005172, allocations: 19.98 kB / 411.8 MB, free: 9.289 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001875/0.005359, allocations: 129.3 kB / 411.9 MB, free: 9.133 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001044/0.005464, allocations: 54.59 kB / 411.9 MB, free: 9.07 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.287e-05/0.005496, allocations: 20.84 kB / 412 MB, free: 9.047 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.266e-05/0.005509, allocations: 0 / 412 MB, free: 9.047 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001027/0.005612, allocations: 79.33 kB / 412 MB, free: 8.957 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 7.51e-07/0.005613, allocations: 0 / 412 MB, free: 8.957 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001877/0.0058, allocations: 97.56 kB / 412.1 MB, free: 8.855 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.821e-05/0.005828, allocations: 51.41 kB / 412.2 MB, free: 8.793 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.005945, allocations: 190.2 kB / 412.4 MB, free: 8.598 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.307e-06/0.005954, allocations: 25.7 kB / 412.4 MB, free: 8.566 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.944e-05/0.005994, allocations: 104.1 kB / 412.5 MB, free: 8.461 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.318e-05/0.006017, allocations: 11.91 kB / 412.5 MB, free: 8.449 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.877e-05/0.006046, allocations: 21.7 kB / 412.5 MB, free: 8.422 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.073e-05/0.006117, allocations: 326.8 kB / 412.8 MB, free: 8.094 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.104e-05/0.006148, allocations: 15.98 kB / 412.9 MB, free: 8.078 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.458e-05/0.006182, allocations: 33.7 kB / 412.9 MB, free: 8.039 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.77e-05/0.00624, allocations: 45.7 kB / 412.9 MB, free: 7.988 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.006242, allocations: 0 / 412.9 MB, free: 7.988 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.136e-05/0.006333, allocations: 81.58 kB / 413 MB, free: 7.902 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.006346, allocations: 6.656 kB / 413 MB, free: 7.898 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.006352, allocations: 3.938 kB / 413 MB, free: 7.895 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.006363, allocations: 3.938 kB / 413 MB, free: 7.891 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.668e-05/0.00642, allocations: 20.02 kB / 413 MB, free: 7.871 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.067e-06/0.006424, allocations: 0 / 413 MB, free: 7.871 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.772e-05/0.006451, allocations: 3.953 kB / 413.1 MB, free: 7.867 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.006457, allocations: 8 kB / 413.1 MB, free: 7.859 MB / 346.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 6.725e-05/0.006524, allocations: 125.8 kB / 413.2 MB, free: 7.727 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.052e-05/0.006535, allocations: 7.953 kB / 413.2 MB, free: 7.719 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001272/0.006662, allocations: 94.08 kB / 413.3 MB, free: 7.621 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.006665, allocations: 3.984 kB / 413.3 MB, free: 7.617 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.006669, allocations: 4.375 kB / 413.3 MB, free: 7.613 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.006671, allocations: 7.938 kB / 413.3 MB, free: 7.605 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.207e-05/0.006753, allocations: 133.3 kB / 413.4 MB, free: 7.445 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.006755, allocations: 0 / 413.4 MB, free: 7.445 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.533e-05/0.00677, allocations: 4 kB / 413.4 MB, free: 7.441 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.006771, allocations: 0 / 413.4 MB, free: 7.441 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.006778, allocations: 0 / 413.4 MB, free: 7.441 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.00678, allocations: 3.938 kB / 413.4 MB, free: 7.438 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.006781, allocations: 0 / 413.4 MB, free: 7.438 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002251/0.007006, allocations: 121 kB / 413.6 MB, free: 7.301 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.422e-05/0.00702, allocations: 15.88 kB / 413.6 MB, free: 7.285 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.007033, allocations: 0 / 413.6 MB, free: 7.285 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.455e-05/0.007058, allocations: 11.94 kB / 413.6 MB, free: 7.273 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.541e-05/0.007083, allocations: 7.984 kB / 413.6 MB, free: 7.266 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.007095, allocations: 4 kB / 413.6 MB, free: 7.262 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.142e-05/0.007166, allocations: 139.2 kB / 413.7 MB, free: 7.125 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.007166, allocations: 0 / 413.7 MB, free: 7.125 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001434/0.00731, allocations: 23.98 kB / 413.8 MB, free: 7.102 MB / 346.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.0006284/0.007938, allocations: 435.6 kB / 414.2 MB, free: 6.719 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001105/0.008049, allocations: 43.92 kB / 414.2 MB, free: 6.676 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.00805, allocations: 4.062 kB / 414.2 MB, free: 6.672 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.565e-05/0.008086, allocations: 19.98 kB / 414.2 MB, free: 6.652 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001764/0.008262, allocations: 31.91 kB / 414.3 MB, free: 6.621 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003289/0.008591, allocations: 227 kB / 414.5 MB, free: 6.367 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.398e-05/0.008655, allocations: 95.09 kB / 414.6 MB, free: 6.254 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.9e-05/0.008684, allocations: 20.5 kB / 414.6 MB, free: 6.234 MB / 346.7 MB Notification: Performance of SimCode: time 4.21e-07/0.008684, allocations: 0 / 414.6 MB, free: 6.234 MB / 346.7 MB Notification: Performance of Templates: time 0.00236/0.01104, allocations: 1.719 MB / 416.3 MB, free: 4.516 MB / 346.7 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: 4.5641709277406335]