Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0008513/0.0008513, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001084/0.001935, 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.0007876/0.0007876, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00091/0.001698, 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.067/1.067, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1009/1.168, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2702/0.2702, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02438/0.2946, allocations: 12.53 MB / 289.3 MB, free: 8.684 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Tables.CombiTimeTable.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 290.7 MB, free: 7.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.167e-05/2.373e-05, allocations: 2.312 kB / 290.7 MB, free: 7.586 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.003032/0.003056, allocations: 1.804 MB / 292.5 MB, free: 6.121 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001325/0.004381, allocations: 1.019 MB / 293.5 MB, free: 5.355 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.833e-05/0.00447, allocations: 1.344 kB / 293.5 MB, free: 5.355 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002197/0.004689, allocations: 40.28 kB / 293.6 MB, free: 5.324 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002559/0.004945, allocations: 92.62 kB / 293.6 MB, free: 5.254 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001789/0.005124, allocations: 79.59 kB / 293.7 MB, free: 5.176 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001533/0.005277, allocations: 111.6 kB / 293.8 MB, free: 5.066 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.652e-05/0.005354, allocations: 4.75 kB / 293.8 MB, free: 5.062 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001241/0.005478, allocations: 87.73 kB / 293.9 MB, free: 4.977 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.186e-05/0.00555, allocations: 23.92 kB / 293.9 MB, free: 4.953 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.005565, allocations: 4 kB / 294 MB, free: 4.949 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.809e-05/0.005653, allocations: 47.91 kB / 294 MB, free: 4.902 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.291e-05/0.005696, allocations: 19.94 kB / 294 MB, free: 4.883 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.094e-05/0.005727, allocations: 11.94 kB / 294 MB, free: 4.871 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000157/0.005883, allocations: 87.67 kB / 294.1 MB, free: 4.785 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.251e-05/0.005896, allocations: 0 / 294.1 MB, free: 4.785 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.005897, allocations: 0 / 294.1 MB, free: 4.785 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.2e-05/0.005909, allocations: 0 / 294.1 MB, free: 4.785 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.0004004/0.006309, allocations: 336.5 kB / 294.4 MB, free: 4.434 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.835e-05/0.006338, allocations: 12.03 kB / 294.5 MB, free: 4.422 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.009e-05/0.006368, allocations: 8.922 kB / 294.5 MB, free: 4.414 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.006514, allocations: 155.9 kB / 294.6 MB, free: 4.238 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.006526, allocations: 384 / 294.6 MB, free: 4.238 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.551e-05/0.006542, allocations: 4.375 kB / 294.6 MB, free: 4.234 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002142/0.006756, allocations: 61.77 kB / 294.7 MB, free: 4.164 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.006765, allocations: 3.938 kB / 294.7 MB, free: 4.16 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.123e-06/0.006772, allocations: 0 / 294.7 MB, free: 4.16 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.006776, allocations: 0 / 294.7 MB, free: 4.16 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.8e-05/0.006804, allocations: 15.92 kB / 294.7 MB, free: 4.145 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001995/0.007004, allocations: 165.9 kB / 294.9 MB, free: 3.965 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.484e-05/0.007089, allocations: 85.36 kB / 294.9 MB, free: 3.871 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.852e-05/0.007107, allocations: 12.86 kB / 295 MB, free: 3.855 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.048e-05/0.007118, allocations: 0 / 295 MB, free: 3.855 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001011/0.007219, allocations: 70.09 kB / 295 MB, free: 3.773 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.00722, allocations: 0 / 295 MB, free: 3.773 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003162/0.007536, allocations: 113.6 kB / 295.1 MB, free: 3.656 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/0.007575, allocations: 55.41 kB / 295.2 MB, free: 3.59 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.007682, allocations: 162.9 kB / 295.4 MB, free: 3.418 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.007701, allocations: 33.7 kB / 295.4 MB, free: 3.379 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.843e-05/0.007739, allocations: 92.11 kB / 295.5 MB, free: 3.285 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.885e-05/0.007768, allocations: 19.84 kB / 295.5 MB, free: 3.266 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.399e-05/0.007812, allocations: 21.7 kB / 295.5 MB, free: 3.238 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.474e-05/0.007897, allocations: 322.8 kB / 295.8 MB, free: 2.914 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.017e-05/0.007917, allocations: 11.02 kB / 295.8 MB, free: 2.902 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.805e-05/0.007945, allocations: 29.69 kB / 295.9 MB, free: 2.867 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.834e-05/0.007993, allocations: 52.39 kB / 295.9 MB, free: 2.809 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.007995, allocations: 0 / 295.9 MB, free: 2.809 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.151e-05/0.008086, allocations: 72.44 kB / 296 MB, free: 2.73 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.0081, allocations: 4 kB / 296 MB, free: 2.727 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.008107, allocations: 3.984 kB / 296 MB, free: 2.723 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.008119, allocations: 4 kB / 296 MB, free: 2.719 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.493e-05/0.008194, allocations: 19.92 kB / 296 MB, free: 2.699 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.008198, allocations: 4 kB / 296 MB, free: 2.695 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.719e-05/0.008225, allocations: 0 / 296 MB, free: 2.695 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.008233, allocations: 8 kB / 296 MB, free: 2.688 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.672e-05/0.0083, allocations: 115 kB / 296.1 MB, free: 2.566 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.738e-05/0.008317, allocations: 23.95 kB / 296.2 MB, free: 2.543 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001068/0.008424, allocations: 70.39 kB / 296.2 MB, free: 2.469 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.008427, allocations: 0 / 296.2 MB, free: 2.469 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.008428, allocations: 0 / 296.2 MB, free: 2.469 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.008433, allocations: 3.984 kB / 296.2 MB, free: 2.465 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002301/0.008663, allocations: 299.5 kB / 296.5 MB, free: 2.145 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.008665, allocations: 0 / 296.5 MB, free: 2.145 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.012e-05/0.008695, allocations: 12 kB / 296.5 MB, free: 2.133 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.939e-06/0.008705, allocations: 7.938 kB / 296.6 MB, free: 2.125 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.008708, allocations: 4 kB / 296.6 MB, free: 2.121 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.008715, allocations: 8.016 kB / 296.6 MB, free: 2.113 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.008717, allocations: 0 / 296.6 MB, free: 2.113 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.008719, allocations: 4 kB / 296.6 MB, free: 2.109 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001114/0.008831, allocations: 219 kB / 296.8 MB, free: 1.875 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.008846, allocations: 0 / 296.8 MB, free: 1.875 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.036e-05/0.008886, allocations: 4 kB / 296.8 MB, free: 1.871 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.772e-05/0.008914, allocations: 7.984 kB / 296.8 MB, free: 1.863 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/0.008927, allocations: 4 kB / 296.8 MB, free: 1.859 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.521e-05/0.008972, allocations: 49.11 kB / 296.8 MB, free: 1.809 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008972, allocations: 0 / 296.8 MB, free: 1.809 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001488/0.009121, allocations: 24 kB / 296.9 MB, free: 1.785 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.001435/0.01056, allocations: 0.6313 MB / 297.5 MB, free: 1.508 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000102/0.01066, allocations: 52.7 kB / 297.6 MB, free: 1.453 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.157e-05/0.01067, allocations: 0 / 297.6 MB, free: 1.453 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.962e-05/0.0107, allocations: 24.86 kB / 297.6 MB, free: 1.426 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002025/0.0109, allocations: 41.67 kB / 297.6 MB, free: 1.391 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004753/0.01138, allocations: 220.1 kB / 297.8 MB, free: 1.141 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.206e-05/0.01142, allocations: 67.33 kB / 297.9 MB, free: 1.055 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.761e-05/0.01146, allocations: 13.41 kB / 297.9 MB, free: 1.043 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.061e-05/0.01153, allocations: 75.36 kB / 298 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of SimCode: time 9.11e-07/0.01153, allocations: 0 / 298 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of Templates: time 0.003873/0.0154, allocations: 2.023 MB / 300 MB, free: 14.97 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 3.030651146546006]