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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 188.3 kB / 16.66 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.641/1.641, allocations: 205.1 MB / 222.5 MB, free: 4.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06817/0.06817, allocations: 14.17 MB / 284.1 MB, free: 7.02 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001796/0.001797, allocations: 63.91 kB / 395.9 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.3258, allocations: 50.15 MB / 446.1 MB, free: 1.945 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001792/0.3277, allocations: 482.5 kB / 446.6 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003003/0.328, allocations: 118.8 kB / 446.7 MB, free: 1.508 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.717e-05/0.328, allocations: 0 / 446.7 MB, free: 1.508 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.596e-05/0.3281, allocations: 3.938 kB / 446.7 MB, free: 1.504 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002636/0.3283, allocations: 19.05 kB / 446.7 MB, free: 1.492 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.539e-06/0.3283, allocations: 8 kB / 446.7 MB, free: 1.484 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 3.454e-05/0.3284, allocations: 6.094 kB / 446.7 MB, free: 1.48 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.55e-05/0.3284, allocations: 1.406 kB / 446.7 MB, free: 1.48 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.22e-05/0.3284, allocations: 3.984 kB / 446.7 MB, free: 1.477 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.3286, allocations: 7.812 kB / 446.7 MB, free: 1.477 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.028e-06/0.3286, allocations: 0 / 446.7 MB, free: 1.477 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.775e-06/0.3286, allocations: 0 / 446.7 MB, free: 1.477 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.593e-06/0.3286, allocations: 0 / 446.7 MB, free: 1.477 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.668e-06/0.3286, allocations: 0 / 446.7 MB, free: 1.477 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 3.72e-05/0.3286, allocations: 13.09 kB / 446.7 MB, free: 1.465 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3287, allocations: 0 / 446.7 MB, free: 1.465 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.3287, allocations: 1.094 kB / 446.7 MB, free: 1.465 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.3287, allocations: 3.984 kB / 446.7 MB, free: 1.461 MB / 318.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.0002028/0.3289, allocations: 306.7 kB / 447 MB, free: 1.113 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.3289, allocations: 10.44 kB / 447.1 MB, free: 1.113 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.031e-05/0.3289, allocations: 34.75 kB / 447.1 MB, free: 1.07 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.89e-05/0.329, allocations: 1.969 kB / 447.1 MB, free: 1.07 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.714e-05/0.329, allocations: 168.3 kB / 447.3 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.329, allocations: 1.969 kB / 447.3 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.306e-06/0.329, allocations: 4.375 kB / 447.3 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.886e-05/0.3291, allocations: 39.92 kB / 447.3 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.3291, allocations: 3.938 kB / 447.3 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.983e-06/0.3292, allocations: 0 / 447.3 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.3292, allocations: 1.281 kB / 447.3 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.835e-05/0.3292, allocations: 9.281 kB / 447.3 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002091/0.3294, allocations: 475 kB / 447.8 MB, free: 300 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.814e-05/0.3295, allocations: 166.5 kB / 447.9 MB, free: 124 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.156e-05/0.3296, allocations: 84.17 kB / 448 MB, free: 36 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.666e-05/0.3297, allocations: 76.62 kB / 448.1 MB, free: 15.96 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5e-05/0.3297, allocations: 113.8 kB / 448.2 MB, free: 15.84 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.3297, allocations: 1.312 kB / 448.2 MB, free: 15.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 6.63e-05/0.3298, allocations: 29.7 kB / 448.2 MB, free: 15.8 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.691e-05/0.3299, allocations: 132 kB / 448.4 MB, free: 15.66 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.294e-05/0.33, allocations: 96.36 kB / 448.5 MB, free: 15.57 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.027e-05/0.33, allocations: 25.7 kB / 448.5 MB, free: 15.54 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.283e-05/0.33, allocations: 85.38 kB / 448.6 MB, free: 15.45 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.915e-06/0.33, allocations: 4.125 kB / 448.6 MB, free: 15.45 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-05/0.3301, allocations: 20.27 kB / 448.6 MB, free: 15.42 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.3302, allocations: 312.1 kB / 448.9 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.596e-06/0.3302, allocations: 1.344 kB / 448.9 MB, free: 15.11 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.655e-05/0.3302, allocations: 20.55 kB / 448.9 MB, free: 15.09 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.316e-05/0.3303, allocations: 28.44 kB / 448.9 MB, free: 15.05 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.3303, allocations: 0 / 448.9 MB, free: 15.05 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000105/0.3304, allocations: 42.25 kB / 449 MB, free: 15.02 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.3304, allocations: 9.656 kB / 449 MB, free: 15.01 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.3304, allocations: 0 / 449 MB, free: 15.01 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.3304, allocations: 1.156 kB / 449 MB, free: 15.01 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.818e-05/0.3305, allocations: 7.297 kB / 449 MB, free: 15.01 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.3305, allocations: 0 / 449 MB, free: 15.01 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.465e-05/0.3305, allocations: 1.156 kB / 449 MB, free: 15.01 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/0.3305, allocations: 1.125 kB / 449 MB, free: 15.01 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 9.338e-05/0.3306, allocations: 199.3 kB / 449.2 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.55e-05/0.3307, allocations: 102.1 kB / 449.3 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.417e-05/0.3308, allocations: 109 kB / 449.4 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.309e-05/0.3308, allocations: 181.3 kB / 449.6 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.994e-05/0.3309, allocations: 181.4 kB / 449.8 MB, free: 14.22 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.376e-05/0.331, allocations: 181.4 kB / 449.9 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002321/0.3312, allocations: 402.3 kB / 450.3 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.011e-05/0.3313, allocations: 110.1 kB / 450.4 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.947e-05/0.3313, allocations: 102 kB / 450.5 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.955e-05/0.3314, allocations: 181.2 kB / 450.7 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-05/0.3314, allocations: 181.6 kB / 450.9 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.015e-05/0.3315, allocations: 184.2 kB / 451.1 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.038e-05/0.3316, allocations: 181.2 kB / 451.3 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001536/0.3317, allocations: 312.2 kB / 451.6 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.1e-05/0.3318, allocations: 179.1 kB / 451.7 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.213e-05/0.3319, allocations: 189.3 kB / 451.9 MB, free: 11.92 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.265e-05/0.332, allocations: 102.1 kB / 452 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.501e-05/0.3321, allocations: 177.3 kB / 452.2 MB, free: 11.63 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.067e-05/0.3321, allocations: 106.3 kB / 452.3 MB, free: 11.52 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.368e-05/0.3322, allocations: 76.41 kB / 452.4 MB, free: 11.45 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.3322, allocations: 0.9375 kB / 452.4 MB, free: 11.45 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003029/0.3326, allocations: 9.156 kB / 452.4 MB, free: 11.44 MB / 334.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.0003746/0.3329, allocations: 0.7991 MB / 453.2 MB, free: 10.62 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 7.128e-05/0.333, allocations: 11.25 kB / 453.2 MB, free: 10.62 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.333, allocations: 0 / 453.2 MB, free: 10.62 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.535e-06/0.333, allocations: 9.438 kB / 453.2 MB, free: 10.61 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003393/0.3334, allocations: 453.5 kB / 453.6 MB, free: 10.16 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003397/0.3337, allocations: 187.5 kB / 453.8 MB, free: 9.945 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002386/0.334, allocations: 0.67 MB / 454.5 MB, free: 9.25 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.052e-05/0.334, allocations: 4.938 kB / 454.5 MB, free: 9.246 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.422e-05/0.334, allocations: 11.44 kB / 454.5 MB, free: 9.234 MB / 334.1 MB Notification: Performance of SimCode: time 1.563e-06/0.334, allocations: 0 / 454.5 MB, free: 9.234 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01858/0.3526, allocations: 0.8969 MB / 455.4 MB, free: 8.613 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.282/8.635, allocations: 9.906 kB / 455.4 MB, free: 8.605 MB / 334.1 MB (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) 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) Reference file matches