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.001439/0.001439, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001526/0.001526, allocations: 209.9 kB / 22.24 MB, free: 4.855 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.54/1.54, allocations: 207.7 MB / 233.1 MB, free: 9.789 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.06779/0.06779, allocations: 14.38 MB / 299.7 MB, free: 7.25 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.002211/0.002211, allocations: 67.91 kB / 420.6 MB, free: 39.1 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1041, allocations: 52.9 MB / 473.5 MB, free: 2.113 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001713/0.1058, allocations: 487.9 kB / 474 MB, free: 1.641 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003846/0.1062, allocations: 120 kB / 474.1 MB, free: 1.523 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.799e-05/0.1062, allocations: 0 / 474.1 MB, free: 1.523 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.715e-05/0.1063, allocations: 0 / 474.1 MB, free: 1.523 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002953/0.1065, allocations: 19.92 kB / 474.1 MB, free: 1.504 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.519e-06/0.1065, allocations: 3.938 kB / 474.1 MB, free: 1.5 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 4.059e-05/0.1066, allocations: 0 / 474.1 MB, free: 1.5 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.025e-05/0.1067, allocations: 4 kB / 474.1 MB, free: 1.496 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.736e-05/0.1067, allocations: 4 kB / 474.1 MB, free: 1.492 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001538/0.1068, allocations: 19.97 kB / 474.1 MB, free: 1.473 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.718e-06/0.1068, allocations: 0 / 474.1 MB, free: 1.473 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.957e-06/0.1068, allocations: 0 / 474.1 MB, free: 1.473 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.825e-06/0.1068, allocations: 0 / 474.1 MB, free: 1.473 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.278e-05/0.1069, allocations: 0 / 474.1 MB, free: 1.473 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 4.694e-05/0.1069, allocations: 7.875 kB / 474.1 MB, free: 1.465 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.1069, allocations: 0 / 474.1 MB, free: 1.465 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1069, allocations: 0 / 474.1 MB, free: 1.465 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.1069, allocations: 0 / 474.1 MB, free: 1.465 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.0003431/0.1073, allocations: 238.7 kB / 474.4 MB, free: 1.199 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.269e-05/0.1073, allocations: 12.03 kB / 474.4 MB, free: 1.188 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.612e-05/0.1074, allocations: 34.73 kB / 474.4 MB, free: 1.145 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.227e-05/0.1074, allocations: 0.9375 kB / 474.4 MB, free: 1.145 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.1075, allocations: 114.5 kB / 474.5 MB, free: 1.008 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.1075, allocations: 4.375 kB / 474.5 MB, free: 1.004 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.134e-05/0.1075, allocations: 384 / 474.5 MB, free: 1.004 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.1076, allocations: 39.98 kB / 474.6 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.1077, allocations: 3.938 kB / 474.6 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.1077, allocations: 0 / 474.6 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-06/0.1077, allocations: 4 kB / 474.6 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.286e-05/0.1077, allocations: 7.938 kB / 474.6 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004496/0.1081, allocations: 442.7 kB / 475 MB, free: 468 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001207/0.1083, allocations: 173.1 kB / 475.2 MB, free: 284 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.726e-05/0.1083, allocations: 80.14 kB / 475.3 MB, free: 200 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.055e-05/0.1084, allocations: 75.28 kB / 475.4 MB, free: 124 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.631e-05/0.1084, allocations: 105.8 kB / 475.5 MB, free: 8 kB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 1.272e-06/0.1084, allocations: 4 kB / 475.5 MB, free: 4 kB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001048/0.1085, allocations: 29.69 kB / 475.5 MB, free: 15.97 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.289e-05/0.1086, allocations: 130.7 kB / 475.6 MB, free: 15.83 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.1087, allocations: 101.8 kB / 475.7 MB, free: 15.72 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.1088, allocations: 29.64 kB / 475.7 MB, free: 15.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.302e-05/0.1088, allocations: 84.09 kB / 475.8 MB, free: 15.6 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.691e-06/0.1088, allocations: 3.984 kB / 475.8 MB, free: 15.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.48e-05/0.1089, allocations: 17.72 kB / 475.8 MB, free: 15.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000177/0.109, allocations: 314.8 kB / 476.2 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.244e-05/0.1091, allocations: 4 kB / 476.2 MB, free: 15.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.661e-05/0.1091, allocations: 9.719 kB / 476.2 MB, free: 15.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.565e-05/0.1091, allocations: 25.84 kB / 476.2 MB, free: 15.2 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1091, allocations: 0 / 476.2 MB, free: 15.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001138/0.1092, allocations: 37.64 kB / 476.2 MB, free: 15.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.1092, allocations: 11.94 kB / 476.2 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.1093, allocations: 3.984 kB / 476.2 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.1093, allocations: 0 / 476.2 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.024e-05/0.1093, allocations: 4 kB / 476.2 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.922e-06/0.1093, allocations: 0 / 476.2 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.295e-05/0.1094, allocations: 0 / 476.2 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.1094, allocations: 4 kB / 476.3 MB, free: 15.14 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.0001288/0.1095, allocations: 193.1 kB / 476.4 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.46e-05/0.1096, allocations: 108.9 kB / 476.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.424e-05/0.1096, allocations: 108.1 kB / 476.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.131e-05/0.1097, allocations: 180.2 kB / 476.8 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.221e-05/0.1098, allocations: 180.3 kB / 477 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.09e-05/0.1099, allocations: 176.3 kB / 477.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002651/0.1102, allocations: 384.2 kB / 477.6 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.458e-05/0.1102, allocations: 105 kB / 477.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.638e-05/0.1103, allocations: 108.9 kB / 477.8 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.153e-05/0.1104, allocations: 180.3 kB / 477.9 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.39e-05/0.1105, allocations: 180.3 kB / 478.1 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.355e-05/0.1105, allocations: 184.2 kB / 478.3 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.027e-05/0.1106, allocations: 184.2 kB / 478.5 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002169/0.1109, allocations: 303.7 kB / 478.8 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.83e-05/0.1109, allocations: 105 kB / 478.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001367/0.1111, allocations: 188.5 kB / 479.1 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.969e-05/0.1112, allocations: 101 kB / 479.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/0.1113, allocations: 184.2 kB / 479.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.188e-05/0.1113, allocations: 109 kB / 479.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.864e-05/0.1114, allocations: 75.28 kB / 479.5 MB, free: 11.67 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1114, allocations: 96 / 479.5 MB, free: 11.67 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002358/0.1116, allocations: 4 kB / 479.5 MB, free: 11.67 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.0005364/0.1122, allocations: 0.8047 MB / 480.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.087e-05/0.1123, allocations: 8 kB / 480.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.1123, allocations: 0 / 480.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.338e-06/0.1123, allocations: 4 kB / 480.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004779/0.1127, allocations: 459.6 kB / 480.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004389/0.1132, allocations: 193.8 kB / 481 MB, free: 10.14 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.218e-05/0.1133, allocations: 55.36 kB / 481 MB, free: 10.06 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.224e-05/0.1133, allocations: 8.062 kB / 481 MB, free: 10.05 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.427e-05/0.1133, allocations: 7.438 kB / 481 MB, free: 10.05 MB / 350.1 MB Notification: Performance of SimCode: time 1.052e-06/0.1133, allocations: 0 / 481 MB, free: 10.05 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02943/0.1427, allocations: 1.408 MB / 482.5 MB, free: 8.668 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.32, allocations: 8 kB / 482.5 MB, free: 8.66 MB / 350.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Functions.Test.TestTimeConstants_res.mat --tempDir=temp_PowerGrids_PowerGrids_Functions_Test_TestTimeConstants_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Functions_Test_TestTimeConstants.fmu > PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerGrids_PowerGrids.Functions.Test.TestTimeConstants_res.mat","/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.157494920771569]