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.001176/0.001176, allocations: 108 kB / 15.61 MB, free: 152 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.001423/0.001423, allocations: 192.5 kB / 16.53 MB, free: 6.664 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.47/1.47, allocations: 205.1 MB / 222.4 MB, free: 4.613 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.07137/0.07137, allocations: 14.17 MB / 283.9 MB, free: 7.07 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.00256/0.00256, allocations: 67.89 kB / 345.2 MB, free: 19.31 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1087, allocations: 50.12 MB / 395.3 MB, free: 1.148 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001806/0.1106, allocations: 490.9 kB / 395.8 MB, free: 0.668 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003252/0.111, allocations: 123.6 kB / 395.9 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.376e-05/0.111, allocations: 0 / 395.9 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.557e-05/0.1111, allocations: 0 / 395.9 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002721/0.1113, allocations: 23.92 kB / 395.9 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.747e-06/0.1113, allocations: 4 kB / 395.9 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 3.061e-05/0.1114, allocations: 3.938 kB / 395.9 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.199e-05/0.1114, allocations: 4 kB / 395.9 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.344e-05/0.1114, allocations: 0 / 395.9 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001161/0.1116, allocations: 15.97 kB / 395.9 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.278e-06/0.1116, allocations: 0 / 395.9 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.076e-06/0.1116, allocations: 0 / 395.9 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.837e-06/0.1116, allocations: 3.938 kB / 395.9 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 1.165e-05/0.1116, allocations: 0 / 395.9 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 3.367e-05/0.1117, allocations: 0 / 395.9 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.1117, allocations: 7.938 kB / 396 MB, free: 496 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1117, allocations: 0 / 396 MB, free: 496 kB / 286.1 MB Notification: Performance of Transformations before backend: time 7.844e-06/0.1117, allocations: 0 / 396 MB, free: 496 kB / 286.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.0003403/0.112, allocations: 315.6 kB / 396.3 MB, free: 128 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/0.1121, allocations: 12.03 kB / 396.3 MB, free: 116 kB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.838e-05/0.1121, allocations: 30.75 kB / 396.3 MB, free: 76 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.238e-05/0.1122, allocations: 0.9375 kB / 396.3 MB, free: 76 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.1123, allocations: 162.7 kB / 396.5 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.1123, allocations: 384 / 396.5 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.575e-06/0.1123, allocations: 4.375 kB / 396.5 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001082/0.1125, allocations: 43.92 kB / 396.5 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.1125, allocations: 3.938 kB / 396.5 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.1125, allocations: 4 kB / 396.5 MB, free: 15.81 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.1125, allocations: 0 / 396.5 MB, free: 15.81 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.017e-05/0.1125, allocations: 7.984 kB / 396.5 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000397/0.1129, allocations: 467.5 kB / 397 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.057e-05/0.113, allocations: 169.2 kB / 397.1 MB, free: 15.12 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.757e-05/0.1131, allocations: 84.12 kB / 397.2 MB, free: 15.03 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.92e-05/0.1131, allocations: 75.28 kB / 397.3 MB, free: 14.96 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.104e-05/0.1132, allocations: 117.8 kB / 397.4 MB, free: 14.83 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 1.193e-06/0.1132, allocations: 0 / 397.4 MB, free: 14.83 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 7.764e-05/0.1133, allocations: 33.55 kB / 397.5 MB, free: 14.79 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.383e-05/0.1134, allocations: 126.7 kB / 397.6 MB, free: 14.66 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.903e-05/0.1134, allocations: 93.86 kB / 397.7 MB, free: 14.55 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.1135, allocations: 25.7 kB / 397.7 MB, free: 14.52 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.903e-05/0.1135, allocations: 100.2 kB / 397.8 MB, free: 14.42 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.906e-06/0.1135, allocations: 128 / 397.8 MB, free: 14.42 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.734e-05/0.1136, allocations: 17.72 kB / 397.8 MB, free: 14.4 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.1137, allocations: 310.8 kB / 398.1 MB, free: 14.09 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.117e-05/0.1137, allocations: 4 kB / 398.1 MB, free: 14.08 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.487e-05/0.1138, allocations: 9.719 kB / 398.1 MB, free: 14.07 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.864e-05/0.1138, allocations: 25.59 kB / 398.1 MB, free: 14.04 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1138, allocations: 4.062 kB / 398.2 MB, free: 14.03 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001169/0.1139, allocations: 41.69 kB / 398.2 MB, free: 13.98 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.114, allocations: 8 kB / 398.2 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.114, allocations: 0 / 398.2 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.114, allocations: 0 / 398.2 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.512e-05/0.1141, allocations: 7.938 kB / 398.2 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.1141, allocations: 3.984 kB / 398.2 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.477e-05/0.1141, allocations: 0 / 398.2 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.044e-06/0.1141, allocations: 4 kB / 398.2 MB, free: 13.96 MB / 302.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.0001057/0.1142, allocations: 193.1 kB / 398.4 MB, free: 13.76 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.444e-05/0.1143, allocations: 108.9 kB / 398.5 MB, free: 13.65 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.05e-05/0.1144, allocations: 112 kB / 398.6 MB, free: 13.53 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.066e-05/0.1144, allocations: 176.3 kB / 398.8 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.2e-05/0.1145, allocations: 176.3 kB / 399 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-05/0.1146, allocations: 188.2 kB / 399.1 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002471/0.1148, allocations: 405.2 kB / 399.5 MB, free: 12.53 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.136e-05/0.1149, allocations: 105 kB / 399.6 MB, free: 12.42 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.128e-05/0.1149, allocations: 109 kB / 399.8 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.98e-05/0.115, allocations: 180.3 kB / 399.9 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.738e-05/0.1151, allocations: 188.2 kB / 400.1 MB, free: 11.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.845e-05/0.1152, allocations: 180.3 kB / 400.3 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.853e-05/0.1153, allocations: 180.2 kB / 400.5 MB, free: 11.56 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002023/0.1155, allocations: 311.7 kB / 400.8 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.04e-05/0.1155, allocations: 182.3 kB / 400.9 MB, free: 11.03 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.532e-05/0.1156, allocations: 184.3 kB / 401.1 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.139e-05/0.1157, allocations: 105 kB / 401.2 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.204e-05/0.1158, allocations: 180.3 kB / 401.4 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.454e-05/0.1158, allocations: 112.9 kB / 401.5 MB, free: 10.43 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.816e-05/0.1159, allocations: 79.28 kB / 401.6 MB, free: 10.36 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1159, allocations: 0 / 401.6 MB, free: 10.36 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002497/0.1161, allocations: 0 / 401.6 MB, free: 10.36 MB / 302.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.0003342/0.1165, allocations: 0.8009 MB / 402.4 MB, free: 9.527 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 6.153e-05/0.1166, allocations: 15.92 kB / 402.4 MB, free: 9.512 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.1166, allocations: 0 / 402.4 MB, free: 9.512 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.693e-06/0.1166, allocations: 128 / 402.4 MB, free: 9.512 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/0.1169, allocations: 455.7 kB / 402.9 MB, free: 9.062 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003201/0.1173, allocations: 174 kB / 403 MB, free: 8.852 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002306/0.1175, allocations: 0.6806 MB / 403.7 MB, free: 8.145 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.473e-05/0.1175, allocations: 0 / 403.7 MB, free: 8.145 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.144e-05/0.1175, allocations: 11.44 kB / 403.7 MB, free: 8.133 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1175, allocations: 4 kB / 403.7 MB, free: 8.129 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01593/0.1335, allocations: 0.88 MB / 404.6 MB, free: 7.258 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.74/7.874, allocations: 4.75 kB / 404.6 MB, free: 7.254 MB / 302.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