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.001747/0.001747, allocations: 105.5 kB / 16.45 MB, free: 6.449 MB / 14.72 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.001635/0.001635, allocations: 208.9 kB / 19.42 MB, free: 3.641 MB / 14.72 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 1.573/1.573, allocations: 207.6 MB / 229.8 MB, free: 11.41 MB / 190.1 MB " [Timeout remaining time 178] 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.0683/0.0683, allocations: 14.4 MB / 296.1 MB, free: 8.621 MB / 238.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00224/0.00224, allocations: 67.91 kB / 415.4 MB, free: 40.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08948/0.09172, allocations: 52.87 MB / 468.3 MB, free: 3.781 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001891/0.09361, allocations: 485 kB / 468.7 MB, free: 3.309 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000365/0.09398, allocations: 115.7 kB / 468.9 MB, free: 3.195 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.359e-05/0.094, allocations: 0 / 468.9 MB, free: 3.195 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.093e-05/0.09401, allocations: 0 / 468.9 MB, free: 3.195 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002813/0.09429, allocations: 27.84 kB / 468.9 MB, free: 3.168 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.807e-06/0.0943, allocations: 4 kB / 468.9 MB, free: 3.164 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 3.812e-05/0.09434, allocations: 3.938 kB / 468.9 MB, free: 3.16 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.908e-05/0.09438, allocations: 4 kB / 468.9 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.219e-05/0.0944, allocations: 0 / 468.9 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.09451, allocations: 16.38 kB / 468.9 MB, free: 3.141 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.308e-06/0.09452, allocations: 4 kB / 468.9 MB, free: 3.137 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.975e-06/0.09452, allocations: 0 / 468.9 MB, free: 3.137 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.994e-06/0.09453, allocations: 0 / 468.9 MB, free: 3.137 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.344e-05/0.09454, allocations: 0 / 468.9 MB, free: 3.137 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 4.015e-05/0.09458, allocations: 3.938 kB / 468.9 MB, free: 3.133 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.09459, allocations: 4 kB / 468.9 MB, free: 3.129 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.09459, allocations: 0 / 468.9 MB, free: 3.129 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.09459, allocations: 0 / 468.9 MB, free: 3.129 MB / 334.1 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.0003129/0.09491, allocations: 311.8 kB / 469.2 MB, free: 2.773 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.09495, allocations: 8.031 kB / 469.2 MB, free: 2.766 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.57e-05/0.09498, allocations: 34.75 kB / 469.3 MB, free: 2.723 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.124e-05/0.095, allocations: 4.922 kB / 469.3 MB, free: 2.719 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.09512, allocations: 160.4 kB / 469.4 MB, free: 2.523 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.09513, allocations: 4.375 kB / 469.4 MB, free: 2.52 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.536e-06/0.09514, allocations: 4.312 kB / 469.4 MB, free: 2.516 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/0.09525, allocations: 43.98 kB / 469.5 MB, free: 2.461 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.09526, allocations: 3.938 kB / 469.5 MB, free: 2.457 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.09526, allocations: 3.984 kB / 469.5 MB, free: 2.453 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.09527, allocations: 4 kB / 469.5 MB, free: 2.449 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.827e-05/0.09529, allocations: 4 kB / 469.5 MB, free: 2.445 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003738/0.09566, allocations: 479.5 kB / 470 MB, free: 1.922 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.467e-05/0.09576, allocations: 165.1 kB / 470.1 MB, free: 1.75 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.443e-05/0.0958, allocations: 82.47 kB / 470.2 MB, free: 1.668 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.07e-05/0.09583, allocations: 79.28 kB / 470.3 MB, free: 1.59 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.337e-05/0.09589, allocations: 109.8 kB / 470.4 MB, free: 1.473 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.09589, allocations: 3.938 kB / 470.4 MB, free: 1.469 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 8.513e-05/0.09597, allocations: 33.62 kB / 470.4 MB, free: 1.43 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.057e-05/0.09604, allocations: 126.7 kB / 470.6 MB, free: 1.293 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.953e-05/0.09614, allocations: 97.86 kB / 470.7 MB, free: 1.188 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.09616, allocations: 25.7 kB / 470.7 MB, free: 1.156 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.331e-05/0.09621, allocations: 84.09 kB / 470.8 MB, free: 1.07 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.456e-06/0.09621, allocations: 0 / 470.8 MB, free: 1.07 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.368e-05/0.09625, allocations: 21.8 kB / 470.8 MB, free: 1.043 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.09639, allocations: 318.8 kB / 471.1 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.38e-05/0.0964, allocations: 4 kB / 471.1 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.967e-05/0.09642, allocations: 9.719 kB / 471.1 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.629e-05/0.09646, allocations: 21.59 kB / 471.1 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.09646, allocations: 4.062 kB / 471.1 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001124/0.09657, allocations: 41.69 kB / 471.2 MB, free: 0.625 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.09659, allocations: 15.88 kB / 471.2 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.09659, allocations: 0 / 471.2 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.09661, allocations: 0 / 471.2 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.113e-05/0.09667, allocations: 4 kB / 471.2 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-06/0.09667, allocations: 0 / 471.2 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.382e-05/0.09669, allocations: 0 / 471.2 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.429e-06/0.09669, allocations: 0 / 471.2 MB, free: 0.6055 MB / 334.1 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 0.0001105/0.0968, allocations: 193.1 kB / 471.4 MB, free: 416 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.966e-05/0.09687, allocations: 105 kB / 471.5 MB, free: 304 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.168e-05/0.09693, allocations: 112 kB / 471.6 MB, free: 188 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.296e-05/0.09701, allocations: 180.3 kB / 471.8 MB, free: 0 / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.928e-05/0.09711, allocations: 180.2 kB / 471.9 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.74e-05/0.09718, allocations: 180.3 kB / 472.1 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002697/0.09745, allocations: 409.2 kB / 472.5 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-05/0.0975, allocations: 104.9 kB / 472.6 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.609e-05/0.09755, allocations: 101 kB / 472.7 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.742e-05/0.09762, allocations: 180.2 kB / 472.9 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.242e-05/0.09771, allocations: 180.3 kB / 473.1 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.003e-05/0.0978, allocations: 188.3 kB / 473.3 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.155e-05/0.09789, allocations: 184.2 kB / 473.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001659/0.09805, allocations: 303.7 kB / 473.7 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.107e-05/0.09814, allocations: 182.1 kB / 473.9 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/0.09825, allocations: 188.5 kB / 474.1 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.821e-05/0.09833, allocations: 104.9 kB / 474.2 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.629e-05/0.09842, allocations: 180.3 kB / 474.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.042e-05/0.09847, allocations: 108.9 kB / 474.5 MB, free: 13.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.027e-05/0.09852, allocations: 83.27 kB / 474.6 MB, free: 13.01 MB / 350.1 MB Notification: Performance of sort global known variables: time 5e-08/0.09852, allocations: 0 / 474.6 MB, free: 13.01 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002166/0.09874, allocations: 3.938 kB / 474.6 MB, free: 13.01 MB / 350.1 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.0004447/0.09918, allocations: 0.8049 MB / 475.4 MB, free: 12.17 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 7.519e-05/0.09926, allocations: 7.938 kB / 475.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.09926, allocations: 0 / 475.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.413e-06/0.09926, allocations: 0 / 475.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003846/0.09965, allocations: 465.4 kB / 475.8 MB, free: 11.71 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003666/0.1, allocations: 181.9 kB / 476 MB, free: 11.49 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002886/0.1003, allocations: 0.669 MB / 476.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.936e-05/0.1003, allocations: 3.938 kB / 476.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.638e-05/0.1003, allocations: 11.42 kB / 476.7 MB, free: 10.78 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1003, allocations: 4 kB / 476.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02429/0.1246, allocations: 0.9023 MB / 477.6 MB, free: 9.898 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.627/8.751, allocations: 13.64 kB / 477.6 MB, free: 9.895 MB / 350.1 MB " [Timeout remaining time 651] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Functions.Test.TestTimeConstants_res.mat","/var/lib/jenkins1/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: 11.640935620001983]