Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.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.0007685/0.0007685, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001022/0.00179, allocations: 449.7 kB / 10.37 MB, free: 328 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.00069/0.00069, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008945/0.001584, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.034/1.034, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09402/1.128, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.29/0.29, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02854/0.3186, allocations: 13.1 MB / 291.3 MB, free: 7.367 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 292.7 MB, free: 6.223 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.165e-05/2.31e-05, allocations: 3.188 kB / 292.7 MB, free: 6.219 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.003381/0.003404, allocations: 1.812 MB / 294.5 MB, free: 4.395 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001739/0.005143, allocations: 1.021 MB / 295.5 MB, free: 3.367 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.256e-05/0.005236, allocations: 0 / 295.5 MB, free: 3.367 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002493/0.005485, allocations: 31.73 kB / 295.6 MB, free: 3.336 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003064/0.005791, allocations: 95.47 kB / 295.7 MB, free: 3.242 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004832/0.006275, allocations: 83.59 kB / 295.8 MB, free: 3.16 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002111/0.006486, allocations: 103.7 kB / 295.9 MB, free: 3.059 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.006589, allocations: 15.92 kB / 295.9 MB, free: 3.043 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001877/0.006776, allocations: 79.81 kB / 295.9 MB, free: 2.965 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001203/0.006897, allocations: 23.91 kB / 296 MB, free: 2.941 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.289e-05/0.006919, allocations: 7.938 kB / 296 MB, free: 2.934 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001346/0.007054, allocations: 43.92 kB / 296 MB, free: 2.891 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.843e-05/0.007112, allocations: 15.94 kB / 296 MB, free: 2.875 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.567e-05/0.007158, allocations: 11.94 kB / 296 MB, free: 2.863 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002203/0.007378, allocations: 99.61 kB / 296.1 MB, free: 2.766 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.947e-05/0.007398, allocations: 0 / 296.1 MB, free: 2.766 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.007399, allocations: 0 / 296.1 MB, free: 2.766 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.916e-05/0.007418, allocations: 0 / 296.1 MB, free: 2.766 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.0005717/0.00799, allocations: 329.1 kB / 296.5 MB, free: 2.422 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.008028, allocations: 8.031 kB / 296.5 MB, free: 2.414 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.063e-05/0.008068, allocations: 12.92 kB / 296.5 MB, free: 2.402 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001906/0.008259, allocations: 141.5 kB / 296.6 MB, free: 2.238 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.17e-05/0.008281, allocations: 4.375 kB / 296.6 MB, free: 2.234 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.959e-05/0.0083, allocations: 8.328 kB / 296.6 MB, free: 2.227 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.008422, allocations: 69.7 kB / 296.7 MB, free: 2.148 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.008435, allocations: 7.875 kB / 296.7 MB, free: 2.141 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.008443, allocations: 0 / 296.7 MB, free: 2.141 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.008449, allocations: 4 kB / 296.7 MB, free: 2.137 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.641e-05/0.008486, allocations: 7.984 kB / 296.7 MB, free: 2.129 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002539/0.00874, allocations: 161.9 kB / 296.9 MB, free: 1.953 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001065/0.008846, allocations: 81.3 kB / 297 MB, free: 1.863 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.823e-05/0.008875, allocations: 20.92 kB / 297 MB, free: 1.84 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.245e-05/0.008887, allocations: 0 / 297 MB, free: 1.84 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001158/0.009003, allocations: 70.09 kB / 297.1 MB, free: 1.758 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.674e-06/0.009004, allocations: 0 / 297.1 MB, free: 1.758 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003554/0.00936, allocations: 117.5 kB / 297.2 MB, free: 1.637 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/0.009465, allocations: 51.41 kB / 297.2 MB, free: 1.574 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.009602, allocations: 162.9 kB / 297.4 MB, free: 1.402 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.009619, allocations: 29.7 kB / 297.4 MB, free: 1.367 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.008e-05/0.009659, allocations: 92.11 kB / 297.5 MB, free: 1.273 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.349e-05/0.009693, allocations: 23.84 kB / 297.5 MB, free: 1.25 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.483e-05/0.009738, allocations: 21.7 kB / 297.5 MB, free: 1.223 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.009841, allocations: 326.8 kB / 297.9 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.567e-05/0.009866, allocations: 14.83 kB / 297.9 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.061e-05/0.009897, allocations: 17.72 kB / 297.9 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.239e-05/0.009959, allocations: 48.44 kB / 297.9 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.009961, allocations: 0 / 297.9 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001132/0.01007, allocations: 80.44 kB / 298 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.01009, allocations: 4 kB / 298 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.0101, allocations: 0 / 298 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.01011, allocations: 4 kB / 298 MB, free: 0.707 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.984e-05/0.0102, allocations: 15.98 kB / 298 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.0102, allocations: 8.031 kB / 298 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.94e-05/0.01024, allocations: 3.984 kB / 298.1 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.01025, allocations: 4 kB / 298.1 MB, free: 0.6758 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 9.053e-05/0.01034, allocations: 116.6 kB / 298.2 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.923e-05/0.01036, allocations: 15.92 kB / 298.2 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001417/0.0105, allocations: 74.39 kB / 298.3 MB, free: 468 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.0105, allocations: 0 / 298.3 MB, free: 468 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.01051, allocations: 0 / 298.3 MB, free: 468 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.01051, allocations: 11.92 kB / 298.3 MB, free: 456 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002966/0.01081, allocations: 291.4 kB / 298.6 MB, free: 136 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.01081, allocations: 0 / 298.6 MB, free: 136 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.463e-05/0.01087, allocations: 16 kB / 298.6 MB, free: 120 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.098e-05/0.01089, allocations: 11.91 kB / 298.6 MB, free: 108 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.01089, allocations: 0 / 298.6 MB, free: 108 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.0109, allocations: 8.297 kB / 298.6 MB, free: 100 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.0109, allocations: 0 / 298.6 MB, free: 100 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.01091, allocations: 4 kB / 298.6 MB, free: 96 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001926/0.0111, allocations: 215.1 kB / 298.8 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.01112, allocations: 4 kB / 298.8 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.267e-05/0.0112, allocations: 7.969 kB / 298.8 MB, free: 15.85 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.982e-05/0.01124, allocations: 11.98 kB / 298.8 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.606e-05/0.01125, allocations: 0 / 298.8 MB, free: 15.84 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.708e-05/0.01132, allocations: 49.17 kB / 298.9 MB, free: 15.79 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01132, allocations: 0 / 298.9 MB, free: 15.79 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002654/0.01158, allocations: 20 kB / 298.9 MB, free: 15.77 MB / 298.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.002336/0.01392, allocations: 0.6242 MB / 299.5 MB, free: 15.5 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001292/0.01405, allocations: 48.7 kB / 299.6 MB, free: 15.45 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.638e-06/0.01406, allocations: 0 / 299.6 MB, free: 15.45 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.962e-05/0.01411, allocations: 28.94 kB / 299.6 MB, free: 15.42 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002875/0.0144, allocations: 54.02 kB / 299.6 MB, free: 15.37 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006092/0.01501, allocations: 216.2 kB / 299.9 MB, free: 15.12 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.865e-05/0.01506, allocations: 67.33 kB / 299.9 MB, free: 15.04 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.273e-05/0.01512, allocations: 8.984 kB / 299.9 MB, free: 15.03 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.393e-05/0.01521, allocations: 67.36 kB / 300 MB, free: 14.96 MB / 298.7 MB Notification: Performance of SimCode: time 1.273e-06/0.01521, allocations: 0 / 300 MB, free: 14.96 MB / 298.7 MB Notification: Performance of Templates: time 0.005558/0.02077, allocations: 2.037 MB / 302 MB, free: 12.95 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.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.9003042969852686]