Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.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.0007719/0.0007719, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001176/0.001947, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 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.001055/0.001055, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001168/0.002223, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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.8952/0.8952, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.181/1.076, allocations: 49.5 MB / 220.7 MB, free: 1.355 MB / 218.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.1453/0.1453, allocations: 32.35 MB / 253.8 MB, free: 232 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02104/0.1664, allocations: 12.32 MB / 266.1 MB, free: 3.871 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.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 267.5 MB, free: 2.484 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.551e-05/2.707e-05, allocations: 10.19 kB / 267.5 MB, free: 2.473 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.003408/0.003435, allocations: 1.778 MB / 269.3 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004539/0.007974, allocations: 1.568 MB / 270.8 MB, free: 15.09 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.901e-05/0.008053, allocations: 0 / 270.8 MB, free: 15.09 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002142/0.008267, allocations: 43.64 kB / 270.9 MB, free: 15.05 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001588/0.008426, allocations: 59.64 kB / 270.9 MB, free: 14.99 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001703/0.008596, allocations: 91.62 kB / 271 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001406/0.008737, allocations: 99.64 kB / 271.1 MB, free: 14.8 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.312e-05/0.00881, allocations: 8.234 kB / 271.1 MB, free: 14.8 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001115/0.008921, allocations: 79.77 kB / 271.2 MB, free: 14.72 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.99e-05/0.009021, allocations: 31.89 kB / 271.2 MB, free: 14.69 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.876e-05/0.00904, allocations: 4 kB / 271.2 MB, free: 14.68 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000113/0.009153, allocations: 63.91 kB / 271.3 MB, free: 14.62 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.968e-05/0.009193, allocations: 11.94 kB / 271.3 MB, free: 14.61 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.795e-05/0.00922, allocations: 15.94 kB / 271.3 MB, free: 14.59 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001608/0.009381, allocations: 103.6 kB / 271.4 MB, free: 14.49 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.069e-05/0.009392, allocations: 0 / 271.4 MB, free: 14.49 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.009393, allocations: 4 kB / 271.4 MB, free: 14.49 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.909e-06/0.009403, allocations: 3.984 kB / 271.4 MB, free: 14.48 MB / 282.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.0004008/0.009804, allocations: 320 kB / 271.7 MB, free: 14.15 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.846e-05/0.009832, allocations: 8.031 kB / 271.8 MB, free: 14.14 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.251e-05/0.009865, allocations: 8.922 kB / 271.8 MB, free: 14.13 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.01001, allocations: 137.6 kB / 271.9 MB, free: 13.97 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.01002, allocations: 8.312 kB / 271.9 MB, free: 13.96 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.01004, allocations: 4.375 kB / 271.9 MB, free: 13.96 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.01017, allocations: 109.1 kB / 272 MB, free: 13.83 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.517e-06/0.01017, allocations: 3.938 kB / 272 MB, free: 13.83 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.101e-06/0.01018, allocations: 4 kB / 272 MB, free: 13.82 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.01019, allocations: 0 / 272 MB, free: 13.82 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.45e-05/0.01021, allocations: 10.83 kB / 272 MB, free: 13.81 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001814/0.01039, allocations: 161.9 kB / 272.2 MB, free: 13.64 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.425e-05/0.01048, allocations: 89.3 kB / 272.3 MB, free: 13.54 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.929e-05/0.01049, allocations: 16.84 kB / 272.3 MB, free: 13.52 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/0.0105, allocations: 0 / 272.3 MB, free: 13.52 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.235e-05/0.0106, allocations: 74.14 kB / 272.4 MB, free: 13.43 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.0106, allocations: 4 kB / 272.4 MB, free: 13.43 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002684/0.01087, allocations: 117.5 kB / 272.5 MB, free: 13.31 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.48e-05/0.01089, allocations: 51.41 kB / 272.5 MB, free: 13.25 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.979e-05/0.01098, allocations: 148.3 kB / 272.7 MB, free: 13.09 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.011, allocations: 33.7 kB / 272.7 MB, free: 13.05 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.305e-05/0.01103, allocations: 92.11 kB / 272.8 MB, free: 12.95 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.306e-05/0.01106, allocations: 23.78 kB / 272.8 MB, free: 12.93 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-05/0.01109, allocations: 21.7 kB / 272.8 MB, free: 12.9 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.986e-05/0.01116, allocations: 326.8 kB / 273.2 MB, free: 12.57 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.444e-05/0.01117, allocations: 10.83 kB / 273.2 MB, free: 12.56 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.26e-05/0.0112, allocations: 64.2 kB / 273.2 MB, free: 12.48 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.877e-05/0.01124, allocations: 40.52 kB / 273.3 MB, free: 12.44 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.01124, allocations: 0 / 273.3 MB, free: 12.44 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.866e-05/0.01131, allocations: 72.38 kB / 273.4 MB, free: 12.36 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/0.01132, allocations: 4 kB / 273.4 MB, free: 12.36 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.01132, allocations: 0 / 273.4 MB, free: 12.36 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.01134, allocations: 4 kB / 273.4 MB, free: 12.35 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.978e-05/0.0114, allocations: 15.98 kB / 273.4 MB, free: 12.34 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.206e-06/0.0114, allocations: 4 kB / 273.4 MB, free: 12.33 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.593e-05/0.01143, allocations: 4.062 kB / 273.4 MB, free: 12.33 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.501e-06/0.01143, allocations: 8 kB / 273.4 MB, free: 12.32 MB / 282.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 5.645e-05/0.01149, allocations: 116.6 kB / 273.5 MB, free: 12.2 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.312e-05/0.0115, allocations: 15.92 kB / 273.5 MB, free: 12.18 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.552e-05/0.0116, allocations: 74.52 kB / 273.6 MB, free: 12.11 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.0116, allocations: 3.938 kB / 273.6 MB, free: 12.1 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.0116, allocations: 3.984 kB / 273.6 MB, free: 12.1 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.01161, allocations: 0 / 273.6 MB, free: 12.1 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001988/0.01181, allocations: 295.4 kB / 273.9 MB, free: 11.78 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.01181, allocations: 0 / 273.9 MB, free: 11.78 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.347e-05/0.01183, allocations: 12.03 kB / 273.9 MB, free: 11.77 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.047e-05/0.01184, allocations: 11.94 kB / 273.9 MB, free: 11.76 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.746e-06/0.01184, allocations: 3.984 kB / 273.9 MB, free: 11.75 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.04e-06/0.01185, allocations: 4.375 kB / 273.9 MB, free: 11.75 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.01185, allocations: 0 / 273.9 MB, free: 11.75 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.01185, allocations: 0 / 273.9 MB, free: 11.75 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.396e-05/0.01194, allocations: 223 kB / 274.1 MB, free: 11.51 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/0.01196, allocations: 4 kB / 274.1 MB, free: 11.51 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.76e-05/0.012, allocations: 3.984 kB / 274.1 MB, free: 11.5 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.156e-05/0.01202, allocations: 8 kB / 274.2 MB, free: 11.5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.01203, allocations: 8 kB / 274.2 MB, free: 11.49 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.327e-05/0.01206, allocations: 35.64 kB / 274.2 MB, free: 11.45 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01206, allocations: 4 kB / 274.2 MB, free: 11.45 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001445/0.01221, allocations: 27.94 kB / 274.2 MB, free: 11.42 MB / 282.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.001342/0.01355, allocations: 0.6992 MB / 274.9 MB, free: 10.7 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.736e-05/0.01365, allocations: 48.72 kB / 275 MB, free: 10.65 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/0.01365, allocations: 4 kB / 275 MB, free: 10.65 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.461e-05/0.01369, allocations: 24.84 kB / 275 MB, free: 10.62 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002199/0.01391, allocations: 176.6 kB / 275.2 MB, free: 10.42 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000456/0.01437, allocations: 214.2 kB / 275.4 MB, free: 10.18 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.434e-05/0.0144, allocations: 67.2 kB / 275.4 MB, free: 10.09 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.547e-05/0.01445, allocations: 20.94 kB / 275.5 MB, free: 10.07 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.852e-05/0.01451, allocations: 71.36 kB / 275.5 MB, free: 10 MB / 282.7 MB Notification: Performance of SimCode: time 4.41e-07/0.01451, allocations: 0 / 275.5 MB, free: 10 MB / 282.7 MB Notification: Performance of Templates: time 0.003631/0.01814, allocations: 2.34 MB / 277.9 MB, free: 7.66 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.784459438174963]