Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.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.001213/0.001213, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001724/0.002937, 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.001036/0.001036, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00139/0.002426, 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.9176/0.9176, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1421/1.06, allocations: 49.49 MB / 220.7 MB, free: 1.375 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.1614/0.1614, allocations: 32.36 MB / 253.8 MB, free: 236 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02195/0.1834, allocations: 12.32 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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 267.5 MB, free: 2.492 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.327e-05/1.452e-05, allocations: 6.25 kB / 267.5 MB, free: 2.484 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.002071/0.002086, allocations: 1.778 MB / 269.2 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001005/0.00309, allocations: 0.8075 MB / 270.1 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.88e-05/0.003159, allocations: 7.938 kB / 270.1 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001961/0.003355, allocations: 43.7 kB / 270.1 MB, free: 15.82 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001406/0.003496, allocations: 59.64 kB / 270.2 MB, free: 15.76 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002007/0.003696, allocations: 83.7 kB / 270.2 MB, free: 15.68 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001398/0.003836, allocations: 103.6 kB / 270.3 MB, free: 15.57 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.117e-05/0.003907, allocations: 12.23 kB / 270.4 MB, free: 15.56 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.004017, allocations: 67.84 kB / 270.4 MB, free: 15.5 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.085e-05/0.004088, allocations: 27.89 kB / 270.5 MB, free: 15.47 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.004104, allocations: 4 kB / 270.5 MB, free: 15.46 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.868e-05/0.004183, allocations: 39.92 kB / 270.5 MB, free: 15.43 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.044e-05/0.004223, allocations: 23.88 kB / 270.5 MB, free: 15.4 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.855e-05/0.004252, allocations: 11.94 kB / 270.5 MB, free: 15.39 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001468/0.004398, allocations: 91.61 kB / 270.6 MB, free: 15.3 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.908e-06/0.004408, allocations: 4 kB / 270.6 MB, free: 15.3 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.004409, allocations: 0 / 270.6 MB, free: 15.3 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.004419, allocations: 0 / 270.6 MB, free: 15.3 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.0003902/0.004809, allocations: 331.9 kB / 270.9 MB, free: 14.95 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.795e-05/0.004837, allocations: 8.031 kB / 271 MB, free: 14.94 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.14e-05/0.004869, allocations: 8.938 kB / 271 MB, free: 14.93 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.005015, allocations: 149.5 kB / 271.1 MB, free: 14.76 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.005029, allocations: 384 / 271.1 MB, free: 14.76 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.005048, allocations: 4.375 kB / 271.1 MB, free: 14.76 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.00517, allocations: 65.7 kB / 271.2 MB, free: 14.68 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.005183, allocations: 11.88 kB / 271.2 MB, free: 14.67 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.005192, allocations: 0 / 271.2 MB, free: 14.67 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-06/0.0052, allocations: 7.984 kB / 271.2 MB, free: 14.66 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.608e-05/0.005226, allocations: 7.984 kB / 271.2 MB, free: 14.66 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002398/0.005466, allocations: 169.9 kB / 271.4 MB, free: 14.47 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001095/0.005575, allocations: 89.34 kB / 271.5 MB, free: 14.38 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.869e-05/0.005594, allocations: 8.859 kB / 271.5 MB, free: 14.36 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/0.005607, allocations: 4 kB / 271.5 MB, free: 14.36 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00011/0.005717, allocations: 74.08 kB / 271.5 MB, free: 14.27 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.783e-06/0.005719, allocations: 4 kB / 271.6 MB, free: 14.27 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003014/0.00602, allocations: 113.5 kB / 271.7 MB, free: 14.15 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.572e-05/0.006046, allocations: 55.41 kB / 271.7 MB, free: 14.09 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.924e-05/0.006145, allocations: 164.3 kB / 271.9 MB, free: 13.91 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.00616, allocations: 25.7 kB / 271.9 MB, free: 13.88 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.316e-05/0.006193, allocations: 96.11 kB / 272 MB, free: 13.78 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.585e-05/0.006219, allocations: 23.8 kB / 272 MB, free: 13.76 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.94e-05/0.006248, allocations: 25.7 kB / 272 MB, free: 13.73 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.957e-05/0.006328, allocations: 326.8 kB / 272.4 MB, free: 13.4 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.702e-05/0.006345, allocations: 10.83 kB / 272.4 MB, free: 13.39 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.361e-05/0.006368, allocations: 25.7 kB / 272.4 MB, free: 13.36 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.223e-05/0.006411, allocations: 44.45 kB / 272.4 MB, free: 13.3 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.006412, allocations: 0 / 272.4 MB, free: 13.3 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.055e-05/0.006492, allocations: 76.38 kB / 272.5 MB, free: 13.22 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.006504, allocations: 4 kB / 272.5 MB, free: 13.22 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.006508, allocations: 0 / 272.5 MB, free: 13.22 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.006519, allocations: 0 / 272.5 MB, free: 13.22 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.132e-05/0.006591, allocations: 19.98 kB / 272.5 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.635e-06/0.006593, allocations: 0 / 272.5 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.909e-05/0.006622, allocations: 11.97 kB / 272.6 MB, free: 13.19 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.006627, allocations: 0 / 272.6 MB, free: 13.19 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 6.685e-05/0.006694, allocations: 116.7 kB / 272.7 MB, free: 13.06 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.44e-05/0.006709, allocations: 15.92 kB / 272.7 MB, free: 13.05 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000101/0.00681, allocations: 82.5 kB / 272.8 MB, free: 12.96 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.006812, allocations: 0 / 272.8 MB, free: 12.96 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-06/0.006813, allocations: 0 / 272.8 MB, free: 12.96 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.006816, allocations: 3.938 kB / 272.8 MB, free: 12.96 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002199/0.007036, allocations: 291.4 kB / 273 MB, free: 12.65 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.007038, allocations: 4.031 kB / 273.1 MB, free: 12.64 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.114e-05/0.007069, allocations: 8 kB / 273.1 MB, free: 12.64 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.346e-05/0.007082, allocations: 19.89 kB / 273.1 MB, free: 12.62 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.007086, allocations: 7.938 kB / 273.1 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-06/0.007092, allocations: 0 / 273.1 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.007094, allocations: 0 / 273.1 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.007095, allocations: 384 / 273.1 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001058/0.007201, allocations: 211.1 kB / 273.3 MB, free: 12.38 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.007216, allocations: 7.938 kB / 273.3 MB, free: 12.38 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.27e-05/0.007259, allocations: 11.98 kB / 273.3 MB, free: 12.36 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.376e-05/0.007282, allocations: 4 kB / 273.3 MB, free: 12.36 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/0.007296, allocations: 7.984 kB / 273.3 MB, free: 12.35 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.11e-05/0.007337, allocations: 44.53 kB / 273.4 MB, free: 12.3 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007337, allocations: 0 / 273.4 MB, free: 12.3 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001446/0.007482, allocations: 23.98 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.001265/0.008747, allocations: 0.6438 MB / 274 MB, free: 11.62 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.1e-05/0.008838, allocations: 44.72 kB / 274.1 MB, free: 11.57 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/0.008844, allocations: 0 / 274.1 MB, free: 11.57 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.456e-05/0.008878, allocations: 32.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.0002168/0.009095, allocations: 180.3 kB / 274.3 MB, free: 11.33 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003946/0.00949, allocations: 218.7 kB / 274.5 MB, free: 11.09 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.608e-05/0.009526, allocations: 71.33 kB / 274.6 MB, free: 11 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.321e-05/0.009559, allocations: 8.969 kB / 274.6 MB, free: 10.99 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.341e-05/0.009622, allocations: 67.36 kB / 274.6 MB, free: 10.92 MB / 282.7 MB Notification: Performance of SimCode: time 7.52e-07/0.009623, allocations: 0 / 274.6 MB, free: 10.92 MB / 282.7 MB Notification: Performance of Templates: time 0.00336/0.01298, 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.Test22.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.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.8296966273337603]