Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.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.001252/0.001252, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001877/0.003129, 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.001172/0.001172, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001698/0.002871, 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.9336/0.9336, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1495/1.083, allocations: 49.49 MB / 220.7 MB, free: 1.367 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.1413/0.1413, allocations: 32.35 MB / 253.8 MB, free: 236 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02175/0.1631, allocations: 12.31 MB / 266.1 MB, free: 3.879 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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 267.5 MB, free: 2.488 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.341e-05/2.514e-05, allocations: 6.25 kB / 267.5 MB, free: 2.48 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.003238/0.003263, allocations: 1.778 MB / 269.2 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001306/0.004569, allocations: 0.8114 MB / 270.1 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.707e-05/0.004656, allocations: 3.938 kB / 270.1 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002398/0.004896, allocations: 43.7 kB / 270.1 MB, free: 15.81 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000195/0.005091, allocations: 55.64 kB / 270.2 MB, free: 15.76 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002683/0.005359, allocations: 83.7 kB / 270.2 MB, free: 15.68 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000198/0.005557, allocations: 107.6 kB / 270.3 MB, free: 15.57 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.839e-05/0.005655, allocations: 12.22 kB / 270.4 MB, free: 15.56 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001566/0.005812, allocations: 59.91 kB / 270.4 MB, free: 15.5 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.005931, allocations: 31.89 kB / 270.5 MB, free: 15.47 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.227e-05/0.005953, allocations: 7.938 kB / 270.5 MB, free: 15.46 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001164/0.006069, allocations: 39.88 kB / 270.5 MB, free: 15.42 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.95e-05/0.006129, allocations: 19.92 kB / 270.5 MB, free: 15.4 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.075e-05/0.006169, allocations: 15.94 kB / 270.5 MB, free: 15.39 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002146/0.006384, allocations: 91.67 kB / 270.6 MB, free: 15.3 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.392e-05/0.006398, allocations: 3.938 kB / 270.6 MB, free: 15.29 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.006399, allocations: 0 / 270.6 MB, free: 15.29 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.141e-05/0.00641, allocations: 4 kB / 270.6 MB, free: 15.29 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.0005214/0.006932, allocations: 331.9 kB / 271 MB, free: 14.94 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.006969, allocations: 8.031 kB / 271 MB, free: 14.93 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.708e-05/0.007017, allocations: 4.938 kB / 271 MB, free: 14.93 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002067/0.007223, allocations: 141.5 kB / 271.1 MB, free: 14.77 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.646e-05/0.00725, allocations: 12.36 kB / 271.1 MB, free: 14.75 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.728e-05/0.007277, allocations: 4.312 kB / 271.1 MB, free: 14.75 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/0.007435, allocations: 61.77 kB / 271.2 MB, free: 14.68 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.007449, allocations: 3.938 kB / 271.2 MB, free: 14.68 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.007461, allocations: 7.938 kB / 271.2 MB, free: 14.67 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.007472, allocations: 7.984 kB / 271.2 MB, free: 14.66 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.997e-05/0.007512, allocations: 8 kB / 271.2 MB, free: 14.65 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00026/0.007772, allocations: 169.9 kB / 271.4 MB, free: 14.47 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001165/0.007888, allocations: 81.3 kB / 271.5 MB, free: 14.38 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.876e-05/0.007917, allocations: 20.91 kB / 271.5 MB, free: 14.36 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.201e-05/0.007929, allocations: 0 / 271.5 MB, free: 14.36 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000124/0.008053, allocations: 70.09 kB / 271.5 MB, free: 14.27 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.008054, allocations: 0 / 271.5 MB, free: 14.27 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003811/0.008436, allocations: 121.5 kB / 271.7 MB, free: 14.15 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.311e-05/0.008469, allocations: 55.41 kB / 271.7 MB, free: 14.08 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.008617, allocations: 164.3 kB / 271.9 MB, free: 13.91 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.9e-05/0.008646, allocations: 29.7 kB / 271.9 MB, free: 13.87 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.234e-05/0.008689, allocations: 92.11 kB / 272 MB, free: 13.78 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.307e-05/0.008722, allocations: 27.8 kB / 272 MB, free: 13.75 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.721e-05/0.008759, allocations: 21.7 kB / 272 MB, free: 13.72 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.008866, allocations: 326.8 kB / 272.4 MB, free: 13.39 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.646e-05/0.008892, allocations: 10.83 kB / 272.4 MB, free: 13.38 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.14e-05/0.008924, allocations: 21.72 kB / 272.4 MB, free: 13.36 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.915e-05/0.008983, allocations: 48.44 kB / 272.4 MB, free: 13.3 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.008984, allocations: 0 / 272.4 MB, free: 13.3 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001077/0.009092, allocations: 72.38 kB / 272.5 MB, free: 13.22 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.009105, allocations: 4 kB / 272.5 MB, free: 13.22 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.009112, allocations: 4 kB / 272.5 MB, free: 13.21 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.009125, allocations: 0 / 272.5 MB, free: 13.21 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.609e-05/0.009211, allocations: 19.98 kB / 272.5 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.296e-06/0.009214, allocations: 0 / 272.5 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.132e-05/0.009256, allocations: 7.938 kB / 272.5 MB, free: 13.19 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.009263, allocations: 8.031 kB / 272.6 MB, free: 13.18 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 0.0003622/0.009625, allocations: 116.7 kB / 272.7 MB, free: 13.05 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.944e-05/0.009644, allocations: 11.92 kB / 272.7 MB, free: 13.04 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001396/0.009784, allocations: 74.52 kB / 272.8 MB, free: 12.97 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.009786, allocations: 0 / 272.8 MB, free: 12.97 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.009788, allocations: 7.938 kB / 272.8 MB, free: 12.96 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.009793, allocations: 3.984 kB / 272.8 MB, free: 12.96 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002837/0.01008, allocations: 291.4 kB / 273 MB, free: 12.64 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.01008, allocations: 0 / 273 MB, free: 12.64 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.76e-05/0.01013, allocations: 16.03 kB / 273.1 MB, free: 12.63 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.696e-05/0.01014, allocations: 11.91 kB / 273.1 MB, free: 12.62 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.01015, allocations: 0 / 273.1 MB, free: 12.62 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.01016, allocations: 3.984 kB / 273.1 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.01016, allocations: 7.938 kB / 273.1 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.01016, allocations: 384 / 273.1 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001483/0.01031, allocations: 211.1 kB / 273.3 MB, free: 12.38 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/0.01033, allocations: 0 / 273.3 MB, free: 12.38 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.807e-05/0.0104, allocations: 12 kB / 273.3 MB, free: 12.37 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.071e-05/0.01043, allocations: 11.92 kB / 273.3 MB, free: 12.36 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.01044, allocations: 0 / 273.3 MB, free: 12.36 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.753e-05/0.0105, allocations: 52.52 kB / 273.4 MB, free: 12.3 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.0105, allocations: 4 kB / 273.4 MB, free: 12.3 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000238/0.01073, allocations: 20 kB / 273.4 MB, free: 12.28 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.00158/0.01231, allocations: 0.64 MB / 274 MB, free: 11.62 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.84e-05/0.0124, allocations: 44.72 kB / 274.1 MB, free: 11.57 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/0.01241, allocations: 4 kB / 274.1 MB, free: 11.57 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.482e-05/0.01245, allocations: 24.84 kB / 274.1 MB, free: 11.54 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002167/0.01266, allocations: 180.3 kB / 274.3 MB, free: 11.34 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004358/0.0131, allocations: 218.5 kB / 274.5 MB, free: 11.09 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.422e-05/0.01313, allocations: 67.53 kB / 274.6 MB, free: 11 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.452e-05/0.01317, allocations: 16.95 kB / 274.6 MB, free: 10.99 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.102e-05/0.01323, allocations: 67.36 kB / 274.6 MB, free: 10.92 MB / 282.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01323, allocations: 0 / 274.6 MB, free: 10.92 MB / 282.7 MB Notification: Performance of Templates: time 0.003342/0.01657, allocations: 2.037 MB / 276.7 MB, free: 8.879 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.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.736351927742362]