Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.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.001196/0.001196, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001975/0.003171, 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.001314/0.001314, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001752/0.003066, 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 1.037/1.037, allocations: 158.6 MB / 171 MB, free: 2.184 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1962/1.233, allocations: 49.49 MB / 220.5 MB, free: 5.27 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.1383/0.1383, allocations: 32.34 MB / 253.6 MB, free: 4.164 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05164/0.1899, allocations: 12.3 MB / 265.9 MB, free: 7.832 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.Test52,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.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,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.Test52") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.193e-06/1.193e-06, allocations: 0 / 267.3 MB, free: 6.457 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.568e-05/2.687e-05, allocations: 10.25 kB / 267.3 MB, free: 6.445 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.003438/0.003465, allocations: 1.774 MB / 269.1 MB, free: 4.652 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001333/0.004798, allocations: 0.8036 MB / 269.9 MB, free: 3.84 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.153e-05/0.00487, allocations: 0 / 269.9 MB, free: 3.84 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002309/0.005101, allocations: 51.7 kB / 269.9 MB, free: 3.789 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001886/0.005289, allocations: 63.62 kB / 270 MB, free: 3.727 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003627/0.005652, allocations: 87.69 kB / 270.1 MB, free: 3.641 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001923/0.005844, allocations: 91.72 kB / 270.2 MB, free: 3.551 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.791e-05/0.005932, allocations: 8.219 kB / 270.2 MB, free: 3.543 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001571/0.006089, allocations: 79.77 kB / 270.2 MB, free: 3.465 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001221/0.006211, allocations: 19.92 kB / 270.3 MB, free: 3.445 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.203e-05/0.006233, allocations: 4 kB / 270.3 MB, free: 3.441 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001101/0.006343, allocations: 47.91 kB / 270.3 MB, free: 3.395 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.435e-05/0.006398, allocations: 19.92 kB / 270.3 MB, free: 3.375 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.288e-05/0.006441, allocations: 23.88 kB / 270.4 MB, free: 3.352 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002211/0.006662, allocations: 99.61 kB / 270.5 MB, free: 3.254 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.709e-05/0.006679, allocations: 0 / 270.5 MB, free: 3.254 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.00668, allocations: 0 / 270.5 MB, free: 3.254 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.831e-05/0.006698, allocations: 0 / 270.5 MB, free: 3.254 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.0005506/0.007249, allocations: 343.8 kB / 270.8 MB, free: 2.895 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.007288, allocations: 8.031 kB / 270.8 MB, free: 2.887 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.249e-05/0.007331, allocations: 16.86 kB / 270.8 MB, free: 2.871 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000181/0.007512, allocations: 141.6 kB / 271 MB, free: 2.707 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.007533, allocations: 8.375 kB / 271 MB, free: 2.699 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.798e-05/0.007551, allocations: 4.375 kB / 271 MB, free: 2.695 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001412/0.007692, allocations: 65.77 kB / 271 MB, free: 2.621 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.007704, allocations: 7.875 kB / 271 MB, free: 2.613 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.256e-06/0.007712, allocations: 0 / 271 MB, free: 2.613 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.007718, allocations: 0 / 271 MB, free: 2.613 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.853e-05/0.007757, allocations: 11.98 kB / 271.1 MB, free: 2.602 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002804/0.008037, allocations: 165.9 kB / 271.2 MB, free: 2.422 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001251/0.008162, allocations: 89.36 kB / 271.3 MB, free: 2.324 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.363e-05/0.008186, allocations: 12.86 kB / 271.3 MB, free: 2.309 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.125e-05/0.008197, allocations: 4 kB / 271.3 MB, free: 2.305 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001358/0.008333, allocations: 78.08 kB / 271.4 MB, free: 2.215 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.623e-06/0.008335, allocations: 0 / 271.4 MB, free: 2.215 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003739/0.008709, allocations: 109.5 kB / 271.5 MB, free: 2.102 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.805e-05/0.008747, allocations: 51.41 kB / 271.6 MB, free: 2.039 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.008896, allocations: 192.2 kB / 271.7 MB, free: 1.836 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001245/0.009021, allocations: 29.7 kB / 271.8 MB, free: 1.801 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.169e-05/0.009062, allocations: 96.11 kB / 271.9 MB, free: 1.703 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.317e-05/0.009095, allocations: 23.78 kB / 271.9 MB, free: 1.68 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.401e-05/0.009139, allocations: 25.7 kB / 271.9 MB, free: 1.648 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.00924, allocations: 330.8 kB / 272.2 MB, free: 1.316 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.321e-05/0.009263, allocations: 6.828 kB / 272.2 MB, free: 1.309 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.367e-05/0.009297, allocations: 29.69 kB / 272.3 MB, free: 1.273 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.391e-05/0.009351, allocations: 40.53 kB / 272.3 MB, free: 1.227 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.009352, allocations: 0 / 272.3 MB, free: 1.227 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001123/0.009464, allocations: 80.36 kB / 272.4 MB, free: 1.141 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.00948, allocations: 8 kB / 272.4 MB, free: 1.133 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.009486, allocations: 3.984 kB / 272.4 MB, free: 1.129 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.009497, allocations: 4.031 kB / 272.4 MB, free: 1.125 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.558e-05/0.009593, allocations: 19.98 kB / 272.4 MB, free: 1.105 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.009596, allocations: 0 / 272.4 MB, free: 1.105 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.895e-05/0.009635, allocations: 4 kB / 272.4 MB, free: 1.102 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.009641, allocations: 0 / 272.4 MB, free: 1.102 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 8.349e-05/0.009724, allocations: 120.6 kB / 272.5 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.955e-05/0.009744, allocations: 15.92 kB / 272.6 MB, free: 0.957 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001355/0.009879, allocations: 79.06 kB / 272.6 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.009882, allocations: 0 / 272.6 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.009884, allocations: 0 / 272.6 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.009888, allocations: 4 kB / 272.6 MB, free: 0.875 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002947/0.01018, allocations: 295.4 kB / 272.9 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.01019, allocations: 0 / 272.9 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.586e-05/0.01023, allocations: 15.98 kB / 272.9 MB, free: 0.543 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.711e-05/0.01025, allocations: 11.94 kB / 273 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.01025, allocations: 3.938 kB / 273 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.01026, allocations: 4 kB / 273 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.01026, allocations: 0 / 273 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.01026, allocations: 0 / 273 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001547/0.01042, allocations: 215 kB / 273.2 MB, free: 300 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/0.01044, allocations: 12.34 kB / 273.2 MB, free: 288 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.791e-05/0.01051, allocations: 0 / 273.2 MB, free: 288 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.298e-05/0.01054, allocations: 11.98 kB / 273.2 MB, free: 276 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.68e-05/0.01056, allocations: 8 kB / 273.2 MB, free: 268 kB / 266.7 MB Notification: Performance of sorting global known variables: time 6.518e-05/0.01062, allocations: 56.7 kB / 273.3 MB, free: 208 kB / 266.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.01062, allocations: 0 / 273.3 MB, free: 208 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002422/0.01087, allocations: 23.94 kB / 273.3 MB, free: 184 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.001489/0.01235, allocations: 0.6361 MB / 273.9 MB, free: 15.53 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001239/0.01248, allocations: 52.77 kB / 274 MB, free: 15.48 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.123e-05/0.01249, allocations: 0 / 274 MB, free: 15.48 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.538e-05/0.01253, allocations: 24.8 kB / 274 MB, free: 15.45 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002048/0.01273, allocations: 55.89 kB / 274.1 MB, free: 15.39 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005041/0.01323, allocations: 234.6 kB / 274.3 MB, free: 15.14 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.377e-05/0.01328, allocations: 71.28 kB / 274.3 MB, free: 15.05 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.692e-05/0.01331, allocations: 12.48 kB / 274.4 MB, free: 15.04 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.79e-05/0.01338, allocations: 71.36 kB / 274.4 MB, free: 14.96 MB / 282.7 MB Notification: Performance of SimCode: time 1.443e-06/0.01338, allocations: 0 / 274.4 MB, free: 14.96 MB / 282.7 MB Notification: Performance of Templates: time 0.004024/0.01741, allocations: 2.033 MB / 276.5 MB, free: 12.93 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.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.9722012663260102]