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.00187/0.00187, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.002727/0.002727, allocations: 216.4 kB / 22.25 MB, free: 5.129 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.571/1.571, allocations: 207.6 MB / 233 MB, free: 9.984 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.07108/0.07108, allocations: 14.39 MB / 299.7 MB, free: 7.43 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.003281/0.003281, allocations: 80.48 kB / 420.6 MB, free: 39.29 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09352/0.0968, allocations: 52.9 MB / 473.5 MB, free: 2.312 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001853/0.09865, allocations: 499.3 kB / 474 MB, free: 1.832 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003937/0.09905, allocations: 124 kB / 474.1 MB, free: 1.711 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.034e-05/0.09908, allocations: 0 / 474.1 MB, free: 1.711 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.928e-05/0.0991, allocations: 0 / 474.1 MB, free: 1.711 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003208/0.09942, allocations: 27.91 kB / 474.1 MB, free: 1.684 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.408e-06/0.09942, allocations: 3.938 kB / 474.1 MB, free: 1.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 3.994e-05/0.09946, allocations: 0 / 474.1 MB, free: 1.68 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.13e-05/0.09951, allocations: 4 kB / 474.1 MB, free: 1.676 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.598e-05/0.09954, allocations: 3.984 kB / 474.1 MB, free: 1.672 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001371/0.09968, allocations: 11.98 kB / 474.2 MB, free: 1.66 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.789e-06/0.09968, allocations: 0 / 474.2 MB, free: 1.66 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.946e-06/0.09969, allocations: 0 / 474.2 MB, free: 1.66 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.333e-06/0.09969, allocations: 0 / 474.2 MB, free: 1.66 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.273e-05/0.09971, allocations: 4 kB / 474.2 MB, free: 1.656 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 4.51e-05/0.09975, allocations: 3.938 kB / 474.2 MB, free: 1.652 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/0.09976, allocations: 0 / 474.2 MB, free: 1.652 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.09976, allocations: 0 / 474.2 MB, free: 1.652 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.09977, allocations: 3.938 kB / 474.2 MB, free: 1.648 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.0003006/0.1001, allocations: 238.7 kB / 474.4 MB, free: 1.383 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.1001, allocations: 12.06 kB / 474.4 MB, free: 1.371 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.093e-05/0.1002, allocations: 30.75 kB / 474.4 MB, free: 1.332 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.183e-05/0.1002, allocations: 0.9375 kB / 474.4 MB, free: 1.332 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.741e-05/0.1003, allocations: 110.5 kB / 474.6 MB, free: 1.199 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.1003, allocations: 12.38 kB / 474.6 MB, free: 1.188 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.251e-05/0.1003, allocations: 384 / 474.6 MB, free: 1.188 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/0.1004, allocations: 43.98 kB / 474.6 MB, free: 1.133 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.1004, allocations: 3.938 kB / 474.6 MB, free: 1.129 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.1005, allocations: 0 / 474.6 MB, free: 1.129 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.1005, allocations: 0 / 474.6 MB, free: 1.129 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.696e-05/0.1005, allocations: 7.938 kB / 474.6 MB, free: 1.121 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004656/0.101, allocations: 438.7 kB / 475.1 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001119/0.1011, allocations: 169.1 kB / 475.2 MB, free: 480 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.603e-05/0.1011, allocations: 88.08 kB / 475.3 MB, free: 388 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.388e-05/0.1012, allocations: 75.28 kB / 475.4 MB, free: 312 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.693e-05/0.1012, allocations: 113.9 kB / 475.5 MB, free: 188 kB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.1012, allocations: 0 / 475.5 MB, free: 188 kB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 9.012e-05/0.1013, allocations: 25.7 kB / 475.5 MB, free: 156 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.031e-05/0.1014, allocations: 126.7 kB / 475.6 MB, free: 16 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.1015, allocations: 97.84 kB / 475.7 MB, free: 15.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.1015, allocations: 25.7 kB / 475.8 MB, free: 15.88 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.728e-05/0.1016, allocations: 92.22 kB / 475.8 MB, free: 15.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.727e-06/0.1016, allocations: 0 / 475.8 MB, free: 15.79 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-05/0.1017, allocations: 21.61 kB / 475.9 MB, free: 15.76 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.1018, allocations: 310.8 kB / 476.2 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.256e-05/0.1018, allocations: 0 / 476.2 MB, free: 15.45 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.589e-05/0.1018, allocations: 21.7 kB / 476.2 MB, free: 15.42 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.019e-05/0.1019, allocations: 21.72 kB / 476.2 MB, free: 15.39 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1019, allocations: 3.938 kB / 476.2 MB, free: 15.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001232/0.102, allocations: 41.64 kB / 476.3 MB, free: 15.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.102, allocations: 4 kB / 476.3 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.102, allocations: 0 / 476.3 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.1021, allocations: 4 kB / 476.3 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.801e-05/0.1021, allocations: 3.984 kB / 476.3 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.1021, allocations: 4 kB / 476.3 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.531e-05/0.1022, allocations: 0 / 476.3 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.77e-06/0.1022, allocations: 4.062 kB / 476.3 MB, free: 15.32 MB / 350.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.0001305/0.1023, allocations: 189.1 kB / 476.5 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.047e-05/0.1024, allocations: 104.9 kB / 476.6 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.056e-05/0.1024, allocations: 104.1 kB / 476.7 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.841e-05/0.1025, allocations: 180.2 kB / 476.8 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-05/0.1026, allocations: 192.2 kB / 477 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.548e-05/0.1027, allocations: 176.3 kB / 477.2 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002881/0.103, allocations: 372.2 kB / 477.6 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.135e-05/0.103, allocations: 113 kB / 477.7 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.677e-05/0.1031, allocations: 108.9 kB / 477.8 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.977e-05/0.1032, allocations: 176.3 kB / 478 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001027/0.1033, allocations: 180.3 kB / 478.1 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001064/0.1034, allocations: 184.2 kB / 478.3 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.527e-05/0.1035, allocations: 176.3 kB / 478.5 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001712/0.1037, allocations: 311.7 kB / 478.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.543e-05/0.1037, allocations: 105 kB / 478.9 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.108e-05/0.1038, allocations: 188.5 kB / 479.1 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.788e-05/0.1039, allocations: 105 kB / 479.2 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.673e-05/0.104, allocations: 184.2 kB / 479.4 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.226e-05/0.104, allocations: 108.9 kB / 479.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.353e-05/0.1041, allocations: 79.28 kB / 479.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1041, allocations: 4.094 kB / 479.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002616/0.1044, allocations: 0 / 479.5 MB, free: 11.85 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.0004978/0.1049, allocations: 0.8008 MB / 480.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.801e-05/0.1049, allocations: 4 kB / 480.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.105, allocations: 4.125 kB / 480.4 MB, free: 11.01 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.293e-06/0.105, allocations: 4 kB / 480.4 MB, free: 11.01 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004206/0.1054, allocations: 459.7 kB / 480.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004157/0.1058, allocations: 197.7 kB / 481 MB, free: 10.32 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003017/0.1061, allocations: 0.6729 MB / 481.7 MB, free: 9.621 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.76e-05/0.1061, allocations: 4 kB / 481.7 MB, free: 9.617 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.136e-05/0.1061, allocations: 7.438 kB / 481.7 MB, free: 9.609 MB / 350.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1061, allocations: 0 / 481.7 MB, free: 9.609 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02923/0.1354, allocations: 1.011 MB / 482.7 MB, free: 8.633 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/11.75, allocations: 7.891 kB / 482.7 MB, free: 8.625 MB / 350.1 MB " [Timeout remaining time 648] (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: 14.801899648999097]