Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.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.001067/0.001067, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001135/0.002201, allocations: 440 kB / 10.41 MB, free: 284 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.0007067/0.0007067, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009355/0.001642, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9606/0.9606, allocations: 158.6 MB / 171.2 MB, free: 2.52 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1542/1.115, allocations: 49.51 MB / 220.7 MB, free: 1.359 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06624/0.06624, allocations: 10.64 MB / 232 MB, free: 5.977 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005996/0.07223, allocations: 4.166 MB / 236.2 MB, free: 1.801 MB / 234.7 MB " [Timeout remaining time 180] Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/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(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="T1|T2|time",fileNamePrefix="PowerGrids_PowerGrids.Functions.Test.TestTimeConstants") translateModel(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="T1|T2|time",fileNamePrefix="PowerGrids_PowerGrids.Functions.Test.TestTimeConstants") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 237.5 MB, free: 0.5195 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.562e-05/1.735e-05, allocations: 2.312 kB / 237.5 MB, free: 0.5156 MB / 234.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001111/0.001129, allocations: 0.5402 MB / 238 MB, free: 15.97 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001293/0.001258, allocations: 119.5 kB / 238.1 MB, free: 15.86 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.391e-05/0.001272, allocations: 0 / 238.1 MB, free: 15.86 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.137e-06/0.001276, allocations: 0 / 238.1 MB, free: 15.86 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.623e-05/0.001372, allocations: 23.88 kB / 238.2 MB, free: 15.84 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.355e-06/0.001375, allocations: 0 / 238.2 MB, free: 15.84 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 2.734e-05/0.001402, allocations: 3.984 kB / 238.2 MB, free: 15.83 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.458e-05/0.001437, allocations: 7.984 kB / 238.2 MB, free: 15.82 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.038e-05/0.001457, allocations: 0 / 238.2 MB, free: 15.82 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.136e-05/0.001538, allocations: 11.94 kB / 238.2 MB, free: 15.81 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.94e-06/0.001543, allocations: 0 / 238.2 MB, free: 15.81 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.677e-06/0.001547, allocations: 0 / 238.2 MB, free: 15.81 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.233e-06/0.001554, allocations: 4 kB / 238.2 MB, free: 15.81 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.903e-06/0.001561, allocations: 0 / 238.2 MB, free: 15.81 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 4.043e-05/0.001601, allocations: 0 / 238.2 MB, free: 15.81 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.277e-06/0.001611, allocations: 0 / 238.2 MB, free: 15.81 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.001611, allocations: 4 kB / 238.2 MB, free: 15.8 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.206e-06/0.00162, allocations: 0 / 238.2 MB, free: 15.8 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0001756/0.001795, allocations: 212.7 kB / 238.4 MB, free: 15.57 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.876e-05/0.001824, allocations: 11.89 kB / 238.4 MB, free: 15.56 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.488e-05/0.001849, allocations: 8.938 kB / 238.4 MB, free: 15.55 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/0.002016, allocations: 105.7 kB / 238.5 MB, free: 15.42 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.002026, allocations: 384 / 238.5 MB, free: 15.42 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.466e-06/0.002035, allocations: 4.375 kB / 238.5 MB, free: 15.42 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.521e-05/0.00211, allocations: 47.95 kB / 238.6 MB, free: 15.36 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.002118, allocations: 4.188 kB / 238.6 MB, free: 15.36 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.731e-06/0.002123, allocations: 384 / 238.6 MB, free: 15.36 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.002129, allocations: 384 / 238.6 MB, free: 15.36 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.014e-05/0.002139, allocations: 7.875 kB / 238.6 MB, free: 15.35 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002181/0.002357, allocations: 375 kB / 239 MB, free: 14.96 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.285e-05/0.00242, allocations: 173.2 kB / 239.1 MB, free: 14.78 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.973e-05/0.00244, allocations: 80.14 kB / 239.2 MB, free: 14.7 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.605e-05/0.002456, allocations: 79.28 kB / 239.3 MB, free: 14.62 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.421e-05/0.00249, allocations: 109.8 kB / 239.4 MB, free: 14.5 MB / 250.7 MB Notification: Performance of pre-optimization done (n=0): time 6.51e-07/0.002491, allocations: 0 / 239.4 MB, free: 14.5 MB / 250.7 MB Notification: Performance of matching and sorting (n=0): time 4.947e-05/0.00254, allocations: 33.64 kB / 239.4 MB, free: 14.46 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/0.002579, allocations: 126.7 kB / 239.5 MB, free: 14.33 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.508e-05/0.002634, allocations: 102.7 kB / 239.6 MB, free: 14.21 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 7.384e-06/0.002641, allocations: 25.7 kB / 239.7 MB, free: 14.18 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.743e-05/0.002679, allocations: 92.08 kB / 239.8 MB, free: 14.09 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.615e-06/0.002682, allocations: 0 / 239.8 MB, free: 14.09 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.06e-05/0.002702, allocations: 17.67 kB / 239.8 MB, free: 14.07 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.729e-05/0.002769, allocations: 319 kB / 240.1 MB, free: 13.75 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.999e-06/0.002774, allocations: 4 kB / 240.1 MB, free: 13.74 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.518e-06/0.002784, allocations: 9.719 kB / 240.1 MB, free: 13.73 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.479e-05/0.002809, allocations: 21.64 kB / 240.1 MB, free: 13.7 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.00281, allocations: 4 kB / 240.1 MB, free: 13.7 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.357e-05/0.002864, allocations: 37.62 kB / 240.2 MB, free: 13.65 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.002874, allocations: 8 kB / 240.2 MB, free: 13.64 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.002883, allocations: 0 / 240.2 MB, free: 13.64 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.002895, allocations: 8.062 kB / 240.2 MB, free: 13.64 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.405e-05/0.002939, allocations: 4 kB / 240.2 MB, free: 13.63 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.116e-06/0.002942, allocations: 0 / 240.2 MB, free: 13.63 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.979e-06/0.002952, allocations: 7.984 kB / 240.2 MB, free: 13.62 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.918e-06/0.002956, allocations: 4 kB / 240.2 MB, free: 13.62 MB / 250.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 5.277e-05/0.003009, allocations: 189.1 kB / 240.4 MB, free: 13.43 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.149e-05/0.00304, allocations: 108.9 kB / 240.5 MB, free: 13.31 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.783e-05/0.003078, allocations: 104.1 kB / 240.6 MB, free: 13.2 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.696e-05/0.003115, allocations: 180.2 kB / 240.8 MB, free: 13.02 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.368e-05/0.003149, allocations: 184.2 kB / 240.9 MB, free: 12.83 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.289e-05/0.003192, allocations: 184.4 kB / 241.1 MB, free: 12.64 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000146/0.003338, allocations: 321.4 kB / 241.4 MB, free: 12.3 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-05/0.003362, allocations: 105 kB / 241.5 MB, free: 12.19 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.6e-05/0.003388, allocations: 101 kB / 241.6 MB, free: 12.09 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.777e-05/0.003416, allocations: 112.9 kB / 241.7 MB, free: 11.97 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.363e-05/0.003449, allocations: 180.2 kB / 241.9 MB, free: 11.79 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.495e-05/0.003484, allocations: 180.2 kB / 242.1 MB, free: 11.6 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002014/0.003686, allocations: 180.3 kB / 242.3 MB, free: 11.42 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.55e-05/0.003721, allocations: 180.2 kB / 242.5 MB, free: 11.23 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.139e-05/0.003802, allocations: 307.8 kB / 242.8 MB, free: 10.91 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.658e-05/0.003849, allocations: 188.2 kB / 242.9 MB, free: 10.72 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.014e-05/0.003889, allocations: 109 kB / 243 MB, free: 10.61 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.733e-05/0.003926, allocations: 180.3 kB / 243.2 MB, free: 10.42 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.07e-05/0.003947, allocations: 112.8 kB / 243.3 MB, free: 10.3 MB / 250.7 MB Notification: Performance of sorting global known variables: time 9.768e-06/0.003957, allocations: 4.859 kB / 243.3 MB, free: 10.3 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003957, allocations: 0 / 243.3 MB, free: 10.3 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001024/0.004059, allocations: 4 kB / 243.3 MB, free: 10.29 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 7.187e-05/0.004131, allocations: 143.7 kB / 243.5 MB, free: 10.14 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.434e-05/0.004186, allocations: 13.05 kB / 243.5 MB, free: 10.13 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.004191, allocations: 8.094 kB / 243.5 MB, free: 10.12 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.294e-06/0.004193, allocations: 0 / 243.5 MB, free: 10.12 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001664/0.004359, allocations: 463.6 kB / 244 MB, free: 9.664 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001462/0.004506, allocations: 155 kB / 244.1 MB, free: 9.484 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.349e-05/0.004529, allocations: 51.36 kB / 244.2 MB, free: 9.414 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.582e-05/0.004545, allocations: 3.984 kB / 244.2 MB, free: 9.41 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.555e-05/0.00458, allocations: 51.38 kB / 244.2 MB, free: 9.359 MB / 250.7 MB Notification: Performance of SimCode: time 4.41e-07/0.004581, allocations: 0 / 244.2 MB, free: 9.359 MB / 250.7 MB Notification: Performance of Templates: time 0.001115/0.005696, allocations: 180.6 kB / 244.4 MB, free: 9.188 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.makefile [Timeout 660] (rm -f PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.pipe ; mkfifo PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.pipe >> ../files/PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.sim & ./PowerGrids_PowerGrids.Functions.Test.TestTimeConstants -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerGrids_PowerGrids.Functions.Test.TestTimeConstants_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Functions.Test.TestTimeConstants_res.mat","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.488118468783796]