Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.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.001379/0.001379, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002663/0.004042, 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.002013/0.002013, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00252/0.004533, 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.9766/0.9766, allocations: 158.6 MB / 171 MB, free: 2.18 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1863/1.163, allocations: 49.49 MB / 220.5 MB, free: 5.281 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.1655/0.1655, allocations: 32.34 MB / 253.6 MB, free: 4.172 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02332/0.1888, allocations: 12.3 MB / 265.9 MB, free: 7.836 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.Test16,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.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,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.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 267.3 MB, free: 6.461 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.097e-05/2.233e-05, allocations: 2.312 kB / 267.3 MB, free: 6.457 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.002426/0.002448, allocations: 1.77 MB / 269.1 MB, free: 4.668 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001088/0.003536, allocations: 0.8036 MB / 269.9 MB, free: 3.855 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.815e-05/0.003624, allocations: 4 kB / 269.9 MB, free: 3.852 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002475/0.003872, allocations: 43.66 kB / 269.9 MB, free: 3.809 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001673/0.004039, allocations: 55.69 kB / 270 MB, free: 3.754 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002479/0.004287, allocations: 83.7 kB / 270 MB, free: 3.672 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001785/0.004466, allocations: 103.6 kB / 270.2 MB, free: 3.57 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.004567, allocations: 8.234 kB / 270.2 MB, free: 3.562 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001719/0.004739, allocations: 71.83 kB / 270.2 MB, free: 3.492 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.784e-05/0.004827, allocations: 27.91 kB / 270.3 MB, free: 3.465 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.073e-05/0.004847, allocations: 4 kB / 270.3 MB, free: 3.461 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.00496, allocations: 39.92 kB / 270.3 MB, free: 3.422 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.73e-05/0.005017, allocations: 15.94 kB / 270.3 MB, free: 3.406 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.925e-05/0.005066, allocations: 19.88 kB / 270.3 MB, free: 3.387 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000196/0.005262, allocations: 91.66 kB / 270.4 MB, free: 3.297 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.842e-05/0.005281, allocations: 0 / 270.4 MB, free: 3.297 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.005282, allocations: 4 kB / 270.4 MB, free: 3.293 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.426e-05/0.005296, allocations: 3.938 kB / 270.4 MB, free: 3.289 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.0005931/0.005889, allocations: 323.9 kB / 270.7 MB, free: 2.949 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.005925, allocations: 8.031 kB / 270.8 MB, free: 2.941 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.446e-05/0.00596, allocations: 4.938 kB / 270.8 MB, free: 2.938 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00018/0.00614, allocations: 149.5 kB / 270.9 MB, free: 2.766 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.006158, allocations: 4.375 kB / 270.9 MB, free: 2.762 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.738e-05/0.006176, allocations: 384 / 270.9 MB, free: 2.762 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.006302, allocations: 65.77 kB / 271 MB, free: 2.688 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.006311, allocations: 3.938 kB / 271 MB, free: 2.684 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.194e-06/0.006319, allocations: 4 kB / 271 MB, free: 2.68 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.006323, allocations: 0 / 271 MB, free: 2.68 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.078e-05/0.006354, allocations: 11.98 kB / 271 MB, free: 2.668 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000254/0.006608, allocations: 166 kB / 271.2 MB, free: 2.488 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001129/0.006721, allocations: 93.22 kB / 271.2 MB, free: 2.387 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.511e-05/0.006746, allocations: 12.86 kB / 271.3 MB, free: 2.371 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.462e-05/0.00676, allocations: 0 / 271.3 MB, free: 2.371 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000126/0.006886, allocations: 74.14 kB / 271.3 MB, free: 2.285 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.006888, allocations: 0 / 271.3 MB, free: 2.285 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003741/0.007262, allocations: 109.5 kB / 271.4 MB, free: 2.172 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/0.007305, allocations: 55.41 kB / 271.5 MB, free: 2.105 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001621/0.007467, allocations: 164.1 kB / 271.7 MB, free: 1.93 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.007489, allocations: 25.7 kB / 271.7 MB, free: 1.898 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.471e-05/0.007523, allocations: 88.12 kB / 271.8 MB, free: 1.809 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.529e-05/0.007559, allocations: 31.77 kB / 271.8 MB, free: 1.777 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.893e-05/0.007598, allocations: 21.72 kB / 271.8 MB, free: 1.75 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.693e-05/0.007685, allocations: 326.8 kB / 272.1 MB, free: 1.422 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.14e-05/0.007706, allocations: 14.75 kB / 272.2 MB, free: 1.406 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.327e-05/0.007729, allocations: 25.7 kB / 272.2 MB, free: 1.375 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.631e-05/0.007776, allocations: 52.56 kB / 272.2 MB, free: 1.316 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.007777, allocations: 0 / 272.2 MB, free: 1.316 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.858e-05/0.007855, allocations: 64.39 kB / 272.3 MB, free: 1.246 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.007869, allocations: 11.98 kB / 272.3 MB, free: 1.234 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.007875, allocations: 3.984 kB / 272.3 MB, free: 1.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.924e-06/0.007883, allocations: 0 / 272.3 MB, free: 1.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.061e-05/0.007953, allocations: 16 kB / 272.3 MB, free: 1.215 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.136e-06/0.007956, allocations: 0 / 272.3 MB, free: 1.215 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.069e-05/0.007987, allocations: 11.98 kB / 272.3 MB, free: 1.203 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.007992, allocations: 4.031 kB / 272.3 MB, free: 1.199 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 6.625e-05/0.008058, allocations: 120.6 kB / 272.5 MB, free: 1.07 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.465e-05/0.008073, allocations: 11.92 kB / 272.5 MB, free: 1.059 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001106/0.008184, allocations: 70.39 kB / 272.5 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.008187, allocations: 4 kB / 272.5 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.008189, allocations: 0 / 272.5 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.008193, allocations: 0 / 272.5 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002456/0.008438, allocations: 291.4 kB / 272.8 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.008441, allocations: 0 / 272.8 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.387e-05/0.008475, allocations: 20.02 kB / 272.8 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.219e-05/0.008487, allocations: 7.953 kB / 272.9 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.00849, allocations: 0 / 272.9 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.008497, allocations: 4 kB / 272.9 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.008499, allocations: 0 / 272.9 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.008501, allocations: 0 / 272.9 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001117/0.008612, allocations: 223 kB / 273.1 MB, free: 412 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.008629, allocations: 4.375 kB / 273.1 MB, free: 408 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.564e-05/0.008685, allocations: 4 kB / 273.1 MB, free: 404 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.69e-05/0.008722, allocations: 7.984 kB / 273.1 MB, free: 396 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.008738, allocations: 8 kB / 273.1 MB, free: 388 kB / 266.7 MB Notification: Performance of sorting global known variables: time 4.304e-05/0.008781, allocations: 43.66 kB / 273.1 MB, free: 340 kB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008781, allocations: 0 / 273.1 MB, free: 340 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002126/0.008993, allocations: 27.92 kB / 273.2 MB, free: 312 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.001497/0.01049, allocations: 0.6322 MB / 273.8 MB, free: 15.66 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001163/0.01061, allocations: 48.78 kB / 273.8 MB, free: 15.61 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.447e-06/0.01062, allocations: 0 / 273.8 MB, free: 15.61 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.033e-05/0.01065, allocations: 32.77 kB / 273.9 MB, free: 15.57 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000203/0.01085, allocations: 51.75 kB / 273.9 MB, free: 15.52 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007219/0.01157, allocations: 214.5 kB / 274.1 MB, free: 15.28 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.023e-05/0.01161, allocations: 63.47 kB / 274.2 MB, free: 15.2 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.942e-05/0.01165, allocations: 16.48 kB / 274.2 MB, free: 15.18 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.477e-05/0.01172, allocations: 67.36 kB / 274.3 MB, free: 15.11 MB / 282.7 MB Notification: Performance of SimCode: time 1.283e-06/0.01172, allocations: 0 / 274.3 MB, free: 15.11 MB / 282.7 MB Notification: Performance of Templates: time 0.003597/0.01531, allocations: 2.022 MB / 276.3 MB, free: 13.09 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.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.99632129073143]