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.0008088/0.0008088, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0007848/0.0007848, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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.8309/0.8309, allocations: 158.6 MB / 184.2 MB, free: 3.051 MB / 170.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.03564/0.03564, allocations: 10.65 MB / 247.1 MB, free: 4.715 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: "" <> buildModelFMU(PowerGrids.Functions.Test.TestTimeConstants,fileNamePrefix="PowerGrids_PowerGrids_Functions_Test_TestTimeConstants",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Functions.Test.TestTimeConstants,fileNamePrefix="PowerGrids_PowerGrids_Functions_Test_TestTimeConstants",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 368.1 MB, free: 6.422 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.633e-05/1.773e-05, allocations: 6.281 kB / 368.1 MB, free: 6.414 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.00107/0.001087, allocations: 0.4991 MB / 368.6 MB, free: 5.922 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000258/0.001345, allocations: 107.6 kB / 368.7 MB, free: 5.816 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.123e-05/0.001367, allocations: 0 / 368.7 MB, free: 5.816 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.4e-05/0.001381, allocations: 0 / 368.7 MB, free: 5.816 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002362/0.001617, allocations: 31.11 kB / 368.7 MB, free: 5.789 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.136e-06/0.00162, allocations: 0 / 368.7 MB, free: 5.789 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 2.967e-05/0.00165, allocations: 0 / 368.7 MB, free: 5.789 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.771e-05/0.001687, allocations: 4 kB / 368.7 MB, free: 5.785 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.857e-05/0.001706, allocations: 0 / 368.7 MB, free: 5.785 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.001811, allocations: 19.97 kB / 368.7 MB, free: 5.766 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.751e-06/0.001817, allocations: 0 / 368.7 MB, free: 5.766 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.906e-06/0.00182, allocations: 0 / 368.7 MB, free: 5.766 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.342e-06/0.001826, allocations: 0 / 368.7 MB, free: 5.766 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.177e-06/0.001835, allocations: 0 / 368.7 MB, free: 5.766 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 3.762e-05/0.001873, allocations: 4 kB / 368.7 MB, free: 5.762 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.804e-06/0.001875, allocations: 3.938 kB / 368.7 MB, free: 5.758 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.001875, allocations: 0 / 368.7 MB, free: 5.758 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.636e-06/0.001879, allocations: 0 / 368.7 MB, free: 5.758 MB / 298.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.0001957/0.002075, allocations: 238.4 kB / 369 MB, free: 5.492 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.002113, allocations: 8.031 kB / 369 MB, free: 5.484 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.795e-05/0.002141, allocations: 30.75 kB / 369 MB, free: 5.445 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.722e-05/0.002158, allocations: 0.9375 kB / 369 MB, free: 5.445 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.222e-05/0.002211, allocations: 113.8 kB / 369.1 MB, free: 5.309 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.717e-06/0.002219, allocations: 4.312 kB / 369.1 MB, free: 5.305 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.48e-06/0.002225, allocations: 384 / 369.1 MB, free: 5.305 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.843e-05/0.002303, allocations: 43.98 kB / 369.2 MB, free: 5.25 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.221e-06/0.00231, allocations: 192 / 369.2 MB, free: 5.25 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.753e-06/0.002316, allocations: 384 / 369.2 MB, free: 5.25 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.002322, allocations: 4.125 kB / 369.2 MB, free: 5.246 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.649e-05/0.002339, allocations: 4 kB / 369.2 MB, free: 5.242 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000323/0.002662, allocations: 434.7 kB / 369.6 MB, free: 4.77 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.094e-05/0.002722, allocations: 173.2 kB / 369.8 MB, free: 4.59 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.132e-05/0.002744, allocations: 80.14 kB / 369.8 MB, free: 4.508 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.002764, allocations: 79.22 kB / 369.9 MB, free: 4.43 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.002794, allocations: 109.8 kB / 370 MB, free: 4.312 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 6.51e-07/0.002795, allocations: 7.938 kB / 370 MB, free: 4.305 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 4.613e-05/0.002841, allocations: 25.7 kB / 370.1 MB, free: 4.273 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.002881, allocations: 130.6 kB / 370.2 MB, free: 4.133 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.462e-05/0.002945, allocations: 105.8 kB / 370.3 MB, free: 4.02 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.833e-06/0.002952, allocations: 25.7 kB / 370.3 MB, free: 3.988 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.639e-05/0.002989, allocations: 80.14 kB / 370.4 MB, free: 3.906 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.615e-06/0.002991, allocations: 0 / 370.4 MB, free: 3.906 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.471e-05/0.003016, allocations: 17.67 kB / 370.4 MB, free: 3.883 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.091e-05/0.003087, allocations: 314.8 kB / 370.7 MB, free: 3.566 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.724e-06/0.003095, allocations: 4 kB / 370.7 MB, free: 3.562 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.357e-06/0.003104, allocations: 17.83 kB / 370.7 MB, free: 3.539 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.565e-05/0.00313, allocations: 17.66 kB / 370.8 MB, free: 3.516 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.003131, allocations: 0 / 370.8 MB, free: 3.516 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.795e-05/0.003209, allocations: 45.58 kB / 370.8 MB, free: 3.465 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.003222, allocations: 8 kB / 370.8 MB, free: 3.457 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.003226, allocations: 0 / 370.8 MB, free: 3.457 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.003237, allocations: 3.938 kB / 370.8 MB, free: 3.453 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.448e-05/0.003281, allocations: 4.125 kB / 370.8 MB, free: 3.449 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.003287, allocations: 7.984 kB / 370.8 MB, free: 3.441 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.755e-06/0.003295, allocations: 0 / 370.8 MB, free: 3.441 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.439e-06/0.003299, allocations: 4 kB / 370.8 MB, free: 3.438 MB / 298.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.787e-05/0.003357, allocations: 183.1 kB / 371 MB, free: 3.25 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.082e-05/0.003388, allocations: 109 kB / 371.1 MB, free: 3.137 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.951e-05/0.003428, allocations: 116.1 kB / 371.2 MB, free: 3.02 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001731/0.003601, allocations: 176.3 kB / 371.4 MB, free: 2.84 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.005e-05/0.003641, allocations: 188.2 kB / 371.6 MB, free: 2.648 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.625e-05/0.003677, allocations: 176.3 kB / 371.7 MB, free: 2.469 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001212/0.003798, allocations: 372.3 kB / 372.1 MB, free: 2.051 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.282e-05/0.003821, allocations: 112.9 kB / 372.2 MB, free: 1.934 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.161e-05/0.003843, allocations: 108.9 kB / 372.3 MB, free: 1.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.54e-05/0.003878, allocations: 184.4 kB / 372.5 MB, free: 1.633 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.548e-05/0.003914, allocations: 176.3 kB / 372.7 MB, free: 1.453 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.374e-05/0.003947, allocations: 180.3 kB / 372.9 MB, free: 1.27 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.483e-05/0.003982, allocations: 184.2 kB / 373 MB, free: 1.082 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.409e-05/0.004056, allocations: 307.8 kB / 373.3 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.593e-05/0.004082, allocations: 104.9 kB / 373.4 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.125e-05/0.004123, allocations: 184.2 kB / 373.6 MB, free: 472 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.176e-05/0.004165, allocations: 112.9 kB / 373.7 MB, free: 352 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.867e-05/0.004204, allocations: 184.3 kB / 373.9 MB, free: 160 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.141e-05/0.004225, allocations: 108.9 kB / 374 MB, free: 44 kB / 298.7 MB Notification: Performance of sorting global known variables: time 2.905e-05/0.004254, allocations: 75.28 kB / 374.1 MB, free: 15.97 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004254, allocations: 0 / 374.1 MB, free: 15.97 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001343/0.004389, allocations: 4 kB / 374.1 MB, free: 15.96 MB / 314.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 0.0002166/0.004605, allocations: 0.797 MB / 374.9 MB, free: 15.14 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 5.003e-05/0.004655, allocations: 11.88 kB / 374.9 MB, free: 15.13 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.004657, allocations: 0 / 374.9 MB, free: 15.13 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.224e-06/0.004659, allocations: 4.219 kB / 374.9 MB, free: 15.12 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004907/0.00515, allocations: 455.7 kB / 375.4 MB, free: 14.68 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002539/0.005404, allocations: 193.9 kB / 375.5 MB, free: 14.45 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.662e-05/0.00544, allocations: 63.16 kB / 375.6 MB, free: 14.36 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 1.45e-05/0.005455, allocations: 0 / 375.6 MB, free: 14.36 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.293e-05/0.005478, allocations: 8.5 kB / 375.6 MB, free: 14.36 MB / 314.7 MB Notification: Performance of SimCode: time 5.82e-07/0.005478, allocations: 3.938 kB / 375.6 MB, free: 14.35 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0122/0.01768, allocations: 1.527 MB / 377.1 MB, free: 12.86 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.589/6.607, allocations: 8 kB / 377.1 MB, free: 12.85 MB / 314.7 MB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file PowerGrids_PowerGrids.Functions.Test.TestTimeConstants_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerGrids_PowerGrids_Functions_Test_TestTimeConstants.fmu > PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerGrids_PowerGrids.Functions.Test.TestTimeConstants_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Functions.Test.TestTimeConstants_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.366728869266808]