Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_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.0009692/0.0009692, allocations: 80.88 kB / 19.94 MB, free: 4.547 MB / 18.57 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.0009422/0.0009422, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 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 0.9439/0.9439, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.04871/0.04871, allocations: 13.11 MB / 273.4 MB, free: 228 kB / 250.7 MB " [Timeout remaining time 180] Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/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(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="T1|T2|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants") translateModel(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="T1|T2|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 294.4 MB, free: 11.98 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.089e-05/2.239e-05, allocations: 3.375 kB / 294.4 MB, free: 11.98 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001433/0.001455, allocations: 493 kB / 294.9 MB, free: 11.73 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003501/0.001805, allocations: 116.3 kB / 295 MB, free: 11.66 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.457e-05/0.00183, allocations: 1 kB / 295 MB, free: 11.66 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.352e-05/0.001843, allocations: 0.625 kB / 295 MB, free: 11.66 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000311/0.002154, allocations: 24.86 kB / 295 MB, free: 11.65 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.317e-06/0.002158, allocations: 0 / 295 MB, free: 11.65 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 2.874e-05/0.002186, allocations: 1.656 kB / 295 MB, free: 11.65 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.464e-05/0.002231, allocations: 6.953 kB / 295 MB, free: 11.64 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.071e-05/0.002252, allocations: 1.125 kB / 295 MB, free: 11.64 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001264/0.002378, allocations: 13.3 kB / 295 MB, free: 11.64 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.901e-06/0.002384, allocations: 6.344 kB / 295 MB, free: 11.64 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.476e-06/0.002387, allocations: 1.156 kB / 295 MB, free: 11.64 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.464e-06/0.002395, allocations: 0 / 295 MB, free: 11.64 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.979e-06/0.002405, allocations: 0 / 295 MB, free: 11.64 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 3.711e-05/0.002442, allocations: 1.062 kB / 295 MB, free: 11.64 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.002445, allocations: 0 / 295 MB, free: 11.64 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.002446, allocations: 1.906 kB / 295 MB, free: 11.64 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.00245, allocations: 0 / 295 MB, free: 11.64 MB / 266.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.0001659/0.002615, allocations: 214.7 kB / 295.2 MB, free: 11.41 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.002655, allocations: 10.25 kB / 295.3 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.136e-05/0.002676, allocations: 0.9375 kB / 295.3 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.377e-05/0.00272, allocations: 112.3 kB / 295.4 MB, free: 11.28 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.002731, allocations: 6.906 kB / 295.4 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.664e-06/0.002738, allocations: 1.844 kB / 295.4 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.756e-05/0.002806, allocations: 40.62 kB / 295.4 MB, free: 11.23 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.002814, allocations: 1.969 kB / 295.4 MB, free: 11.23 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.55e-06/0.002819, allocations: 3.531 kB / 295.4 MB, free: 11.23 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.002825, allocations: 1.906 kB / 295.4 MB, free: 11.23 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.798e-05/0.002843, allocations: 7.922 kB / 295.4 MB, free: 11.22 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001765/0.00302, allocations: 376.6 kB / 295.8 MB, free: 10.84 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.755e-05/0.003067, allocations: 167.9 kB / 296 MB, free: 10.67 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.406e-05/0.003081, allocations: 80.89 kB / 296 MB, free: 10.59 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.424e-05/0.003096, allocations: 76.19 kB / 296.1 MB, free: 10.52 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.003124, allocations: 112.7 kB / 296.2 MB, free: 10.4 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 1.423e-06/0.003126, allocations: 5.188 kB / 296.2 MB, free: 10.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 5.183e-05/0.003178, allocations: 33.36 kB / 296.3 MB, free: 10.36 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.529e-05/0.003213, allocations: 126.7 kB / 296.4 MB, free: 10.22 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.992e-05/0.003273, allocations: 105.9 kB / 296.5 MB, free: 10.11 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.869e-06/0.003278, allocations: 25.7 kB / 296.5 MB, free: 10.08 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.422e-05/0.003312, allocations: 87.28 kB / 296.6 MB, free: 9.996 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.734e-06/0.003314, allocations: 3.938 kB / 296.6 MB, free: 9.992 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.82e-05/0.003342, allocations: 13.62 kB / 296.6 MB, free: 9.977 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.854e-05/0.00338, allocations: 315.8 kB / 296.9 MB, free: 9.664 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.173e-06/0.003387, allocations: 1.312 kB / 296.9 MB, free: 9.664 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.549e-05/0.003403, allocations: 17.72 kB / 296.9 MB, free: 9.645 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.085e-05/0.003434, allocations: 18 kB / 297 MB, free: 9.625 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.003435, allocations: 0.625 kB / 297 MB, free: 9.625 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.959e-05/0.003515, allocations: 44.86 kB / 297 MB, free: 9.586 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.00353, allocations: 6.031 kB / 297 MB, free: 9.586 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.003535, allocations: 0 / 297 MB, free: 9.586 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.003547, allocations: 5.641 kB / 297 MB, free: 9.582 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.529e-05/0.003593, allocations: 4.719 kB / 297 MB, free: 9.582 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.166e-06/0.003596, allocations: 6.594 kB / 297 MB, free: 9.582 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.606e-05/0.003612, allocations: 1.125 kB / 297 MB, free: 9.582 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-06/0.003616, allocations: 1.312 kB / 297 MB, free: 9.582 MB / 266.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.086e-05/0.003667, allocations: 184.2 kB / 297.2 MB, free: 9.395 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.082e-05/0.003698, allocations: 102.9 kB / 297.3 MB, free: 9.289 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.018e-05/0.003728, allocations: 110.8 kB / 297.4 MB, free: 9.18 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.347e-05/0.003752, allocations: 182 kB / 297.6 MB, free: 8.996 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.636e-05/0.003778, allocations: 182 kB / 297.8 MB, free: 8.812 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.377e-05/0.003802, allocations: 183.7 kB / 298 MB, free: 8.629 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001257/0.003927, allocations: 326.3 kB / 298.3 MB, free: 8.289 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.68e-05/0.003944, allocations: 106.6 kB / 298.4 MB, free: 8.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.999e-05/0.003964, allocations: 103.2 kB / 298.5 MB, free: 8.074 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.637e-05/0.003991, allocations: 182.4 kB / 298.7 MB, free: 7.891 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.592e-05/0.004016, allocations: 177.7 kB / 298.8 MB, free: 7.711 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-05/0.004044, allocations: 183 kB / 299 MB, free: 7.527 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.462e-05/0.004068, allocations: 182.4 kB / 299.2 MB, free: 7.344 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.107e-05/0.004149, allocations: 311.1 kB / 299.5 MB, free: 7.023 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.014e-05/0.004179, allocations: 104.1 kB / 299.6 MB, free: 6.918 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.359e-05/0.004213, allocations: 183.1 kB / 299.8 MB, free: 6.734 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.182e-05/0.004265, allocations: 107.1 kB / 299.9 MB, free: 6.625 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.314e-05/0.004288, allocations: 180.7 kB / 300.1 MB, free: 6.445 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.004304, allocations: 111.2 kB / 300.2 MB, free: 6.332 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.883e-05/0.004323, allocations: 11.97 kB / 300.2 MB, free: 6.32 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.004323, allocations: 0 / 300.2 MB, free: 6.32 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002031/0.004526, allocations: 5.031 kB / 300.2 MB, free: 6.316 MB / 266.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 8.896e-05/0.004615, allocations: 148.1 kB / 300.3 MB, free: 6.176 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.518e-05/0.00467, allocations: 9.406 kB / 300.3 MB, free: 6.168 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/0.004678, allocations: 1.5 kB / 300.3 MB, free: 6.168 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.204e-06/0.00468, allocations: 7.938 kB / 300.3 MB, free: 6.16 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002036/0.004883, allocations: 456.1 kB / 300.8 MB, free: 5.715 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001686/0.005052, allocations: 160.5 kB / 300.9 MB, free: 5.539 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.918e-05/0.005081, allocations: 57.34 kB / 301 MB, free: 5.465 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.191e-05/0.005103, allocations: 0.7969 kB / 301 MB, free: 5.465 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.923e-05/0.005132, allocations: 52.84 kB / 301.1 MB, free: 5.418 MB / 266.7 MB Notification: Performance of SimCode: time 1.192e-06/0.005134, allocations: 0 / 301.1 MB, free: 5.418 MB / 266.7 MB Notification: Performance of Templates: time 0.002059/0.007192, allocations: 214.6 kB / 301.3 MB, free: 5.379 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.makefile [Timeout 660] (rm -f PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.pipe ; mkfifo PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.pipe >> ../files/PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.sim & ./PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerGrids_dev_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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8506229813210666]