Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.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.0008161/0.0008161, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001184/0.002001, allocations: 447.8 kB / 10.35 MB, free: 348 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.0007192/0.0007192, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001009/0.001728, allocations: 463.6 kB / 11.69 MB, free: 2.48 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.8934/0.8934, allocations: 158.6 MB / 171 MB, free: 2.168 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1763/1.07, allocations: 49.5 MB / 220.5 MB, free: 5.266 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.1551/0.1551, allocations: 32.34 MB / 253.6 MB, free: 4.152 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02303/0.1781, allocations: 12.3 MB / 265.9 MB, free: 7.82 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.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 267.3 MB, free: 6.453 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.248e-05/2.414e-05, allocations: 10.25 kB / 267.3 MB, free: 6.441 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.00244/0.002465, allocations: 1.77 MB / 269.1 MB, free: 4.652 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001097/0.003562, allocations: 0.8036 MB / 269.9 MB, free: 3.84 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.104e-05/0.003653, allocations: 0 / 269.9 MB, free: 3.84 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002463/0.003899, allocations: 63.64 kB / 269.9 MB, free: 3.777 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001818/0.004081, allocations: 59.69 kB / 270 MB, free: 3.719 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002389/0.00432, allocations: 87.69 kB / 270.1 MB, free: 3.633 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001683/0.004488, allocations: 99.64 kB / 270.2 MB, free: 3.535 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.725e-05/0.004576, allocations: 12.22 kB / 270.2 MB, free: 3.523 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000122/0.004698, allocations: 67.84 kB / 270.3 MB, free: 3.457 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.106e-05/0.004779, allocations: 27.91 kB / 270.3 MB, free: 3.43 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.904e-05/0.004798, allocations: 4 kB / 270.3 MB, free: 3.426 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.967e-05/0.004887, allocations: 43.92 kB / 270.3 MB, free: 3.383 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.049e-05/0.004938, allocations: 23.86 kB / 270.3 MB, free: 3.359 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.241e-05/0.00498, allocations: 19.94 kB / 270.4 MB, free: 3.34 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001652/0.005145, allocations: 107.5 kB / 270.5 MB, free: 3.234 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.881e-05/0.005164, allocations: 0 / 270.5 MB, free: 3.234 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.005166, allocations: 0 / 270.5 MB, free: 3.234 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.396e-05/0.00518, allocations: 0 / 270.5 MB, free: 3.234 MB / 266.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.0005466/0.005727, allocations: 367.6 kB / 270.8 MB, free: 2.852 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.00576, allocations: 12.03 kB / 270.8 MB, free: 2.84 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.455e-05/0.005795, allocations: 4.938 kB / 270.8 MB, free: 2.836 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.005956, allocations: 153.5 kB / 271 MB, free: 2.66 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.005971, allocations: 8.312 kB / 271 MB, free: 2.652 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.493e-05/0.005986, allocations: 384 / 271 MB, free: 2.652 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001083/0.006094, allocations: 61.77 kB / 271.1 MB, free: 2.582 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.006102, allocations: 7.938 kB / 271.1 MB, free: 2.574 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.452e-06/0.006108, allocations: 0 / 271.1 MB, free: 2.574 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.427e-06/0.006112, allocations: 0 / 271.1 MB, free: 2.574 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.479e-05/0.006137, allocations: 11.98 kB / 271.1 MB, free: 2.562 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002117/0.006348, allocations: 169.9 kB / 271.3 MB, free: 2.379 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/0.00645, allocations: 89.23 kB / 271.3 MB, free: 2.281 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.378e-05/0.006474, allocations: 20.91 kB / 271.4 MB, free: 2.258 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.459e-05/0.006489, allocations: 0 / 271.4 MB, free: 2.258 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001076/0.006596, allocations: 70.14 kB / 271.4 MB, free: 2.176 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.006598, allocations: 0 / 271.4 MB, free: 2.176 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002907/0.006888, allocations: 109.5 kB / 271.5 MB, free: 2.062 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.064e-05/0.006919, allocations: 55.41 kB / 271.6 MB, free: 1.996 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.007043, allocations: 223.6 kB / 271.8 MB, free: 1.762 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.007062, allocations: 29.7 kB / 271.8 MB, free: 1.727 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.173e-05/0.007093, allocations: 92.11 kB / 271.9 MB, free: 1.633 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.837e-05/0.007122, allocations: 23.83 kB / 272 MB, free: 1.609 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.949e-05/0.007151, allocations: 21.72 kB / 272 MB, free: 1.582 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.015e-05/0.007231, allocations: 326.8 kB / 272.3 MB, free: 1.254 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.817e-05/0.007249, allocations: 14.81 kB / 272.3 MB, free: 1.238 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.238e-05/0.007272, allocations: 25.64 kB / 272.3 MB, free: 1.207 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.16e-05/0.007313, allocations: 44.58 kB / 272.4 MB, free: 1.156 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.007315, allocations: 4 kB / 272.4 MB, free: 1.152 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.729e-05/0.007392, allocations: 84.34 kB / 272.5 MB, free: 1.062 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.007405, allocations: 4 kB / 272.5 MB, free: 1.059 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.00741, allocations: 4 kB / 272.5 MB, free: 1.055 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.554e-06/0.007418, allocations: 0 / 272.5 MB, free: 1.055 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.804e-05/0.007486, allocations: 15.98 kB / 272.5 MB, free: 1.039 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.00749, allocations: 4 kB / 272.5 MB, free: 1.035 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.771e-05/0.007517, allocations: 3.938 kB / 272.5 MB, free: 1.031 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-06/0.007523, allocations: 8 kB / 272.5 MB, free: 1.023 MB / 266.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 7.062e-05/0.007594, allocations: 120.6 kB / 272.6 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.169e-05/0.007606, allocations: 11.92 kB / 272.6 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001042/0.00771, allocations: 79.12 kB / 272.7 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.007713, allocations: 3.938 kB / 272.7 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.007715, allocations: 0 / 272.7 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.007718, allocations: 0 / 272.7 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002347/0.007953, allocations: 295.4 kB / 273 MB, free: 496 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.007955, allocations: 4 kB / 273 MB, free: 492 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.951e-05/0.007985, allocations: 11.98 kB / 273 MB, free: 480 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.325e-05/0.007998, allocations: 11.91 kB / 273 MB, free: 468 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.008, allocations: 4.031 kB / 273 MB, free: 464 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.008006, allocations: 4 kB / 273 MB, free: 460 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.008008, allocations: 0 / 273 MB, free: 460 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.008009, allocations: 0 / 273 MB, free: 460 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001297/0.008139, allocations: 223 kB / 273.3 MB, free: 216 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.008158, allocations: 384 / 273.3 MB, free: 216 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.087e-05/0.008199, allocations: 4 kB / 273.3 MB, free: 212 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.621e-05/0.008225, allocations: 7.984 kB / 273.3 MB, free: 204 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/0.00824, allocations: 11.94 kB / 273.3 MB, free: 192 kB / 266.7 MB Notification: Performance of sorting global known variables: time 5.572e-05/0.008296, allocations: 68.88 kB / 273.3 MB, free: 120 kB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008296, allocations: 4 kB / 273.3 MB, free: 116 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001504/0.008446, allocations: 27.98 kB / 273.4 MB, free: 88 kB / 266.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.001427/0.009873, allocations: 0.6401 MB / 274 MB, free: 15.43 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.388e-05/0.009967, allocations: 44.78 kB / 274.1 MB, free: 15.38 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.313e-06/0.009975, allocations: 0 / 274.1 MB, free: 15.38 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.03e-05/0.01, allocations: 32.77 kB / 274.1 MB, free: 15.35 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001879/0.01019, allocations: 47.77 kB / 274.1 MB, free: 15.3 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000482/0.01067, allocations: 258.8 kB / 274.4 MB, free: 15.02 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.943e-05/0.01071, allocations: 71.33 kB / 274.5 MB, free: 14.93 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.594e-05/0.01075, allocations: 12.62 kB / 274.5 MB, free: 14.92 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.088e-05/0.01081, allocations: 67.36 kB / 274.5 MB, free: 14.85 MB / 282.7 MB Notification: Performance of SimCode: time 1.132e-06/0.01081, allocations: 0 / 274.5 MB, free: 14.85 MB / 282.7 MB Notification: Performance of Templates: time 0.003758/0.01457, allocations: 2.048 MB / 276.6 MB, free: 12.8 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7710403837263584]