Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.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.0009118/0.0009118, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001269/0.002181, 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.0007416/0.0007416, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009528/0.001694, 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.072/1.072, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1192/1.191, allocations: 53.65 MB / 243.3 MB, free: 15.57 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.2847/0.2847, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03096/0.3157, allocations: 12.52 MB / 289.3 MB, free: 8.672 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.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 290.7 MB, free: 7.578 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.696e-05/1.866e-05, allocations: 4.422 kB / 290.7 MB, free: 7.574 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.002086/0.002105, allocations: 1.803 MB / 292.5 MB, free: 6.109 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001257/0.003362, allocations: 1.018 MB / 293.5 MB, free: 5.344 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.024e-05/0.003432, allocations: 0.7188 kB / 293.5 MB, free: 5.344 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001926/0.003625, allocations: 46.11 kB / 293.6 MB, free: 5.309 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002033/0.003828, allocations: 90.88 kB / 293.7 MB, free: 5.238 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001356/0.003963, allocations: 79.61 kB / 293.7 MB, free: 5.16 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001739/0.004137, allocations: 111.6 kB / 293.8 MB, free: 5.051 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.809e-05/0.004235, allocations: 8.75 kB / 293.9 MB, free: 5.043 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001228/0.004358, allocations: 87.73 kB / 293.9 MB, free: 4.957 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.927e-05/0.004438, allocations: 23.92 kB / 294 MB, free: 4.934 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.509e-05/0.004453, allocations: 4 kB / 294 MB, free: 4.93 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.912e-05/0.004532, allocations: 43.92 kB / 294 MB, free: 4.887 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.763e-05/0.004579, allocations: 19.92 kB / 294 MB, free: 4.867 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.438e-05/0.004614, allocations: 15.94 kB / 294 MB, free: 4.852 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001609/0.004775, allocations: 103.5 kB / 294.1 MB, free: 4.75 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.748e-05/0.004792, allocations: 0 / 294.1 MB, free: 4.75 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.004793, allocations: 0 / 294.1 MB, free: 4.75 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.644e-05/0.004809, allocations: 0 / 294.1 MB, free: 4.75 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.0005117/0.005321, allocations: 344.5 kB / 294.5 MB, free: 4.391 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.005357, allocations: 8.031 kB / 294.5 MB, free: 4.383 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.641e-05/0.005393, allocations: 4.938 kB / 294.5 MB, free: 4.379 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001662/0.00556, allocations: 154.2 kB / 294.6 MB, free: 4.203 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.005577, allocations: 384 / 294.6 MB, free: 4.203 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.975e-05/0.005596, allocations: 4.375 kB / 294.6 MB, free: 4.199 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/0.005712, allocations: 61.77 kB / 294.7 MB, free: 4.129 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.005724, allocations: 7.875 kB / 294.7 MB, free: 4.121 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.785e-06/0.005731, allocations: 0 / 294.7 MB, free: 4.121 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.005737, allocations: 4 kB / 294.7 MB, free: 4.117 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.375e-05/0.005771, allocations: 11.98 kB / 294.7 MB, free: 4.105 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002256/0.005996, allocations: 158 kB / 294.9 MB, free: 3.934 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/0.006098, allocations: 89.34 kB / 295 MB, free: 3.836 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.991e-05/0.006118, allocations: 12.84 kB / 295 MB, free: 3.82 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.227e-05/0.00613, allocations: 0 / 295 MB, free: 3.82 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001063/0.006237, allocations: 74.03 kB / 295.1 MB, free: 3.734 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 9.62e-07/0.006238, allocations: 0 / 295.1 MB, free: 3.734 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003058/0.006543, allocations: 117.7 kB / 295.2 MB, free: 3.613 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/0.006579, allocations: 55.41 kB / 295.2 MB, free: 3.547 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.006686, allocations: 180.8 kB / 295.4 MB, free: 3.355 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.0067, allocations: 25.7 kB / 295.4 MB, free: 3.324 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.521e-05/0.006735, allocations: 92.11 kB / 295.5 MB, free: 3.23 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.6e-05/0.006761, allocations: 23.84 kB / 295.5 MB, free: 3.207 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.251e-05/0.006803, allocations: 25.7 kB / 295.6 MB, free: 3.176 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.786e-05/0.006891, allocations: 326.8 kB / 295.9 MB, free: 2.848 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.441e-05/0.006906, allocations: 6.828 kB / 295.9 MB, free: 2.84 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.363e-05/0.006929, allocations: 29.81 kB / 295.9 MB, free: 2.805 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.377e-05/0.006973, allocations: 44.47 kB / 296 MB, free: 2.754 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.006974, allocations: 4 kB / 296 MB, free: 2.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.056e-05/0.007054, allocations: 72.38 kB / 296 MB, free: 2.672 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.007066, allocations: 4 kB / 296 MB, free: 2.668 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.007071, allocations: 0 / 296 MB, free: 2.668 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.007081, allocations: 0 / 296 MB, free: 2.668 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.09e-05/0.007152, allocations: 23.98 kB / 296.1 MB, free: 2.645 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.227e-06/0.007155, allocations: 0 / 296.1 MB, free: 2.645 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.603e-05/0.007182, allocations: 4 kB / 296.1 MB, free: 2.641 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-06/0.007187, allocations: 0 / 296.1 MB, free: 2.641 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.721e-05/0.007254, allocations: 130 kB / 296.2 MB, free: 2.504 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.207e-05/0.007266, allocations: 15.94 kB / 296.2 MB, free: 2.488 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001005/0.007366, allocations: 83.2 kB / 296.3 MB, free: 2.402 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.007369, allocations: 0 / 296.3 MB, free: 2.402 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.00737, allocations: 0 / 296.3 MB, free: 2.402 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.007374, allocations: 0 / 296.3 MB, free: 2.402 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002133/0.007587, allocations: 295.4 kB / 296.6 MB, free: 2.086 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.007589, allocations: 0 / 296.6 MB, free: 2.086 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.745e-05/0.007616, allocations: 15.98 kB / 296.6 MB, free: 2.07 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.578e-06/0.007626, allocations: 7.953 kB / 296.6 MB, free: 2.062 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.007628, allocations: 4.031 kB / 296.6 MB, free: 2.059 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.273e-06/0.007636, allocations: 7.938 kB / 296.6 MB, free: 2.051 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.007638, allocations: 4 kB / 296.6 MB, free: 2.047 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.007639, allocations: 0 / 296.6 MB, free: 2.047 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001049/0.007744, allocations: 223 kB / 296.8 MB, free: 1.809 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.007758, allocations: 0 / 296.8 MB, free: 1.809 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.643e-05/0.007795, allocations: 11.94 kB / 296.9 MB, free: 1.797 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.678e-05/0.007821, allocations: 7.984 kB / 296.9 MB, free: 1.789 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.007833, allocations: 0 / 296.9 MB, free: 1.789 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.126e-05/0.007874, allocations: 51.64 kB / 296.9 MB, free: 1.734 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.007874, allocations: 0 / 296.9 MB, free: 1.734 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001359/0.00801, allocations: 28 kB / 296.9 MB, free: 1.707 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.001826/0.009836, allocations: 0.6288 MB / 297.6 MB, free: 1.434 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001053/0.009942, allocations: 48.7 kB / 297.6 MB, free: 1.383 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.213e-06/0.009949, allocations: 4 kB / 297.6 MB, free: 1.379 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.911e-05/0.009978, allocations: 24.8 kB / 297.6 MB, free: 1.352 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001782/0.01016, allocations: 48.47 kB / 297.7 MB, free: 1.312 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004217/0.01058, allocations: 219.7 kB / 297.9 MB, free: 1.066 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.064e-05/0.01062, allocations: 67.33 kB / 298 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.592e-05/0.01065, allocations: 21.39 kB / 298 MB, free: 0.957 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.035e-05/0.01071, allocations: 67.38 kB / 298.1 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of SimCode: time 8.22e-07/0.01072, allocations: 4 kB / 298.1 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of Templates: time 0.003577/0.01429, allocations: 2.042 MB / 300.1 MB, free: 14.87 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.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.1805268255993724]