Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.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.0008639/0.0008639, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001195/0.002058, 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.0007693/0.0007693, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00101/0.001779, 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.129/1.129, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1223/1.251, allocations: 53.64 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.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.2992/0.2992, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03285/0.332, allocations: 12.53 MB / 289.3 MB, free: 8.68 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.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.284e-06/2.284e-06, allocations: 0 / 290.7 MB, free: 7.582 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.646e-05/1.874e-05, allocations: 5.016 kB / 290.7 MB, free: 7.578 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.00233/0.002349, allocations: 1.802 MB / 292.5 MB, free: 6.113 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001392/0.003741, allocations: 1.019 MB / 293.5 MB, free: 5.352 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.615e-05/0.003817, allocations: 0 / 293.5 MB, free: 5.352 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001982/0.004015, allocations: 60.47 kB / 293.6 MB, free: 5.312 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002128/0.004228, allocations: 98.33 kB / 293.7 MB, free: 5.23 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001454/0.004373, allocations: 83.59 kB / 293.8 MB, free: 5.148 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001417/0.004515, allocations: 103.7 kB / 293.9 MB, free: 5.047 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.016e-05/0.004595, allocations: 8.734 kB / 293.9 MB, free: 5.039 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/0.004706, allocations: 87.75 kB / 294 MB, free: 4.953 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.387e-05/0.00477, allocations: 27.91 kB / 294 MB, free: 4.926 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.32e-05/0.004783, allocations: 4 kB / 294 MB, free: 4.922 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.395e-05/0.004857, allocations: 51.91 kB / 294 MB, free: 4.871 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.93e-05/0.004896, allocations: 19.88 kB / 294.1 MB, free: 4.852 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.087e-05/0.004927, allocations: 19.94 kB / 294.1 MB, free: 4.832 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001412/0.005068, allocations: 111.5 kB / 294.2 MB, free: 4.723 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.078e-05/0.005079, allocations: 3.984 kB / 294.2 MB, free: 4.719 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.00508, allocations: 0 / 294.2 MB, free: 4.719 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.968e-06/0.00509, allocations: 0 / 294.2 MB, free: 4.719 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.0005095/0.005599, allocations: 364.3 kB / 294.5 MB, free: 4.34 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.00564, allocations: 8.031 kB / 294.5 MB, free: 4.332 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.205e-05/0.005682, allocations: 12.92 kB / 294.6 MB, free: 4.32 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001863/0.005868, allocations: 162.4 kB / 294.7 MB, free: 4.133 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.005885, allocations: 384 / 294.7 MB, free: 4.133 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.897e-05/0.005904, allocations: 4.375 kB / 294.7 MB, free: 4.129 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/0.006027, allocations: 65.7 kB / 294.8 MB, free: 4.055 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.006038, allocations: 3.938 kB / 294.8 MB, free: 4.051 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.006048, allocations: 7.984 kB / 294.8 MB, free: 4.043 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.006055, allocations: 0 / 294.8 MB, free: 4.043 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.531e-05/0.00609, allocations: 4 kB / 294.8 MB, free: 4.039 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002542/0.006344, allocations: 169.9 kB / 295 MB, free: 3.855 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/0.006454, allocations: 85.36 kB / 295.1 MB, free: 3.762 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.984e-05/0.006484, allocations: 20.8 kB / 295.1 MB, free: 3.738 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.271e-05/0.006496, allocations: 0 / 295.1 MB, free: 3.738 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001082/0.006604, allocations: 66.09 kB / 295.1 MB, free: 3.66 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.006606, allocations: 0 / 295.1 MB, free: 3.66 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003446/0.00695, allocations: 117.6 kB / 295.3 MB, free: 3.539 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.994e-05/0.00699, allocations: 55.39 kB / 295.3 MB, free: 3.473 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.007128, allocations: 214.3 kB / 295.5 MB, free: 3.25 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.007146, allocations: 29.7 kB / 295.5 MB, free: 3.215 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.163e-05/0.007187, allocations: 96.11 kB / 295.6 MB, free: 3.117 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.811e-05/0.007215, allocations: 27.83 kB / 295.7 MB, free: 3.09 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.431e-05/0.00725, allocations: 21.7 kB / 295.7 MB, free: 3.062 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.821e-05/0.007348, allocations: 330.8 kB / 296 MB, free: 2.73 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.624e-05/0.007364, allocations: 11.02 kB / 296 MB, free: 2.719 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.678e-05/0.007391, allocations: 25.66 kB / 296 MB, free: 2.688 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.398e-05/0.007445, allocations: 48.5 kB / 296.1 MB, free: 2.633 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.007446, allocations: 0 / 296.1 MB, free: 2.633 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.254e-05/0.007518, allocations: 72.38 kB / 296.2 MB, free: 2.555 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.007535, allocations: 12.03 kB / 296.2 MB, free: 2.543 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.007541, allocations: 0 / 296.2 MB, free: 2.543 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.007551, allocations: 0 / 296.2 MB, free: 2.543 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.301e-05/0.007624, allocations: 19.98 kB / 296.2 MB, free: 2.52 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.978e-06/0.007628, allocations: 0 / 296.2 MB, free: 2.52 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.745e-05/0.007655, allocations: 4 kB / 296.2 MB, free: 2.516 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.99e-06/0.00766, allocations: 4 kB / 296.2 MB, free: 2.512 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 7.107e-05/0.007731, allocations: 124.5 kB / 296.3 MB, free: 2.379 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.492e-05/0.007746, allocations: 19.92 kB / 296.3 MB, free: 2.359 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000105/0.007851, allocations: 71.12 kB / 296.4 MB, free: 2.285 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.007853, allocations: 4 kB / 296.4 MB, free: 2.281 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.007855, allocations: 0 / 296.4 MB, free: 2.281 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.86e-06/0.00786, allocations: 4 kB / 296.4 MB, free: 2.277 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002228/0.008082, allocations: 307.5 kB / 296.7 MB, free: 1.949 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.008083, allocations: 0 / 296.7 MB, free: 1.949 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.673e-05/0.00811, allocations: 15.94 kB / 296.7 MB, free: 1.934 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.317e-05/0.008123, allocations: 11.91 kB / 296.8 MB, free: 1.922 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.008124, allocations: 0 / 296.8 MB, free: 1.922 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.493e-06/0.008131, allocations: 4 kB / 296.8 MB, free: 1.918 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.008131, allocations: 0 / 296.8 MB, free: 1.918 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.008134, allocations: 8.016 kB / 296.8 MB, free: 1.91 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001135/0.008248, allocations: 226.9 kB / 297 MB, free: 1.668 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.533e-05/0.008263, allocations: 4 kB / 297 MB, free: 1.664 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.555e-05/0.008299, allocations: 4 kB / 297 MB, free: 1.66 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.936e-05/0.008328, allocations: 7.984 kB / 297 MB, free: 1.652 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.008339, allocations: 4 kB / 297 MB, free: 1.648 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.26e-05/0.008402, allocations: 75.75 kB / 297.1 MB, free: 1.57 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008402, allocations: 0 / 297.1 MB, free: 1.57 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001344/0.008536, allocations: 20 kB / 297.1 MB, free: 1.551 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.001549/0.01009, allocations: 0.6396 MB / 297.7 MB, free: 1.266 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.472e-05/0.01018, allocations: 40.72 kB / 297.8 MB, free: 1.223 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/0.01019, allocations: 8 kB / 297.8 MB, free: 1.215 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.983e-05/0.01022, allocations: 24.86 kB / 297.8 MB, free: 1.188 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002034/0.01042, allocations: 57.12 kB / 297.9 MB, free: 1.137 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004991/0.01092, allocations: 260.2 kB / 298.1 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.818e-05/0.01097, allocations: 71.33 kB / 298.2 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.729e-05/0.01101, allocations: 21.27 kB / 298.2 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.647e-05/0.01107, allocations: 71.36 kB / 298.3 MB, free: 0.668 MB / 282.7 MB Notification: Performance of SimCode: time 7.61e-07/0.01107, allocations: 0 / 298.3 MB, free: 0.668 MB / 282.7 MB Notification: Performance of Templates: time 0.003805/0.01488, allocations: 2.062 MB / 300.3 MB, free: 14.64 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.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.3430784353986382]