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.001296/0.001296, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.00146/0.00146, allocations: 211.9 kB / 22.24 MB, free: 5.242 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.559/1.559, allocations: 207.7 MB / 233.1 MB, free: 9.793 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.06836/0.06836, allocations: 14.39 MB / 299.7 MB, free: 7.262 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.003773/0.003773, allocations: 72.33 kB / 420.6 MB, free: 39.12 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1079, allocations: 52.9 MB / 473.5 MB, free: 2.133 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.00205/0.1099, allocations: 491.9 kB / 474 MB, free: 1.656 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004246/0.1103, allocations: 116.1 kB / 474.1 MB, free: 1.543 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.203e-05/0.1104, allocations: 4 kB / 474.1 MB, free: 1.539 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.721e-05/0.1104, allocations: 0 / 474.1 MB, free: 1.539 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003197/0.1107, allocations: 19.91 kB / 474.1 MB, free: 1.52 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.869e-06/0.1107, allocations: 0 / 474.1 MB, free: 1.52 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 3.649e-05/0.1107, allocations: 0 / 474.1 MB, free: 1.52 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.529e-05/0.1108, allocations: 4 kB / 474.1 MB, free: 1.516 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.892e-05/0.1108, allocations: 7.938 kB / 474.1 MB, free: 1.508 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001549/0.111, allocations: 11.98 kB / 474.1 MB, free: 1.496 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.641e-06/0.111, allocations: 0 / 474.1 MB, free: 1.496 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.787e-06/0.111, allocations: 0 / 474.1 MB, free: 1.496 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.278e-06/0.111, allocations: 0 / 474.1 MB, free: 1.496 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.51e-05/0.111, allocations: 4 kB / 474.1 MB, free: 1.492 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 5.36e-05/0.1111, allocations: 3.938 kB / 474.1 MB, free: 1.488 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.1111, allocations: 3.984 kB / 474.1 MB, free: 1.484 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1111, allocations: 0 / 474.1 MB, free: 1.484 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.1111, allocations: 0 / 474.1 MB, free: 1.484 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.0003683/0.1114, allocations: 234.7 kB / 474.4 MB, free: 1.223 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.1115, allocations: 12.03 kB / 474.4 MB, free: 1.211 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.347e-05/0.1116, allocations: 38.75 kB / 474.4 MB, free: 1.164 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.975e-05/0.1116, allocations: 0.9375 kB / 474.4 MB, free: 1.164 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.1117, allocations: 110.4 kB / 474.5 MB, free: 1.031 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.1117, allocations: 384 / 474.5 MB, free: 1.031 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.1117, allocations: 4.375 kB / 474.5 MB, free: 1.027 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.1119, allocations: 43.97 kB / 474.6 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.1119, allocations: 3.938 kB / 474.6 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.1119, allocations: 3.984 kB / 474.6 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1119, allocations: 0 / 474.6 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.024e-05/0.1119, allocations: 7.938 kB / 474.6 MB, free: 0.957 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000464/0.1124, allocations: 442.7 kB / 475 MB, free: 488 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001221/0.1125, allocations: 169.1 kB / 475.2 MB, free: 308 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.565e-05/0.1126, allocations: 84.17 kB / 475.3 MB, free: 220 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.163e-05/0.1126, allocations: 75.28 kB / 475.4 MB, free: 144 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.919e-05/0.1127, allocations: 109.8 kB / 475.5 MB, free: 24 kB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.1127, allocations: 0 / 475.5 MB, free: 24 kB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001025/0.1128, allocations: 29.7 kB / 475.5 MB, free: 15.99 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.654e-05/0.1128, allocations: 126.7 kB / 475.6 MB, free: 15.85 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.1129, allocations: 101.8 kB / 475.7 MB, free: 15.74 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.113, allocations: 29.77 kB / 475.7 MB, free: 15.71 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.835e-05/0.113, allocations: 88.09 kB / 475.8 MB, free: 15.62 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.807e-06/0.113, allocations: 0 / 475.8 MB, free: 15.62 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.492e-05/0.1131, allocations: 17.72 kB / 475.8 MB, free: 15.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.1132, allocations: 310.8 kB / 476.1 MB, free: 15.28 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.023e-05/0.1132, allocations: 0 / 476.1 MB, free: 15.28 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.56e-05/0.1132, allocations: 13.72 kB / 476.2 MB, free: 15.26 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.69e-05/0.1133, allocations: 25.64 kB / 476.2 MB, free: 15.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1133, allocations: 0 / 476.2 MB, free: 15.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001106/0.1134, allocations: 41.7 kB / 476.2 MB, free: 15.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.1134, allocations: 4 kB / 476.2 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.1135, allocations: 8 kB / 476.2 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.1135, allocations: 0 / 476.2 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.261e-05/0.1135, allocations: 4 kB / 476.2 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.1135, allocations: 0 / 476.2 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.417e-05/0.1135, allocations: 0 / 476.2 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.1136, allocations: 3.984 kB / 476.2 MB, free: 15.16 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.00012/0.1137, allocations: 193.1 kB / 476.4 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.758e-05/0.1137, allocations: 104.9 kB / 476.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.351e-05/0.1138, allocations: 116.1 kB / 476.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-05/0.1139, allocations: 180.2 kB / 476.8 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.095e-05/0.114, allocations: 180.2 kB / 477 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.242e-05/0.1141, allocations: 184.3 kB / 477.2 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002549/0.1143, allocations: 372.2 kB / 477.5 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.568e-05/0.1144, allocations: 109 kB / 477.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.256e-05/0.1144, allocations: 112.8 kB / 477.8 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.839e-05/0.1145, allocations: 176.3 kB / 477.9 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000105/0.1146, allocations: 184.3 kB / 478.1 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.818e-05/0.1147, allocations: 180.2 kB / 478.3 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.437e-05/0.1148, allocations: 184.2 kB / 478.5 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000173/0.115, allocations: 311.7 kB / 478.8 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.434e-05/0.115, allocations: 105 kB / 478.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.739e-05/0.1151, allocations: 180.5 kB / 479.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.908e-05/0.1152, allocations: 105 kB / 479.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.742e-05/0.1153, allocations: 188.2 kB / 479.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-05/0.1153, allocations: 101 kB / 479.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.699e-05/0.1154, allocations: 83.28 kB / 479.5 MB, free: 11.69 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1154, allocations: 0 / 479.5 MB, free: 11.69 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002087/0.1156, allocations: 0 / 479.5 MB, free: 11.69 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.0004848/0.1161, allocations: 0.8087 MB / 480.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 7.76e-05/0.1162, allocations: 4 kB / 480.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1162, allocations: 0 / 480.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.693e-06/0.1162, allocations: 0 / 480.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004313/0.1166, allocations: 463.6 kB / 480.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003737/0.117, allocations: 189.8 kB / 481 MB, free: 10.16 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.239e-05/0.117, allocations: 55.34 kB / 481 MB, free: 10.09 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.556e-05/0.1171, allocations: 0 / 481 MB, free: 10.09 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.858e-05/0.1171, allocations: 11.56 kB / 481 MB, free: 10.07 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1171, allocations: 4 kB / 481 MB, free: 10.07 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02733/0.1444, allocations: 1.408 MB / 482.4 MB, free: 8.691 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/11.78, allocations: 7.875 kB / 482.5 MB, free: 8.684 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.75020072190091]