Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001795/0.001795, allocations: 106 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001981/0.001981, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.568/1.568, allocations: 225.6 MB / 247.8 MB, free: 3.746 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1197/0.1197, allocations: 16.95 MB / 319.6 MB, free: 13.09 MB / 254.1 MB " [Timeout remaining time 180] Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="T1|T2|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants") translateModel(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="T1|T2|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 60.67 kB / 446.8 MB, free: 46.15 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1061, allocations: 56.52 MB / 0.4915 GB, free: 18.96 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001608/0.1077, allocations: 492.4 kB / 0.492 GB, free: 18.61 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.000326/0.1081, allocations: 125.1 kB / 0.4921 GB, free: 18.52 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.83e-05/0.1081, allocations: 0 / 0.4921 GB, free: 18.52 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.218e-05/0.1081, allocations: 1.219 kB / 0.4921 GB, free: 18.52 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002645/0.1084, allocations: 30.53 kB / 0.4921 GB, free: 18.49 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.516e-06/0.1084, allocations: 0 / 0.4921 GB, free: 18.49 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 3.664e-05/0.1084, allocations: 1.75 kB / 0.4921 GB, free: 18.49 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.454e-05/0.1085, allocations: 1.406 kB / 0.4921 GB, free: 18.49 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.313e-05/0.1085, allocations: 1.188 kB / 0.4921 GB, free: 18.49 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.1086, allocations: 21.56 kB / 0.4921 GB, free: 18.48 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.857e-06/0.1086, allocations: 1.719 kB / 0.4921 GB, free: 18.48 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.196e-06/0.1086, allocations: 4 kB / 0.4921 GB, free: 18.47 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.314e-06/0.1086, allocations: 0 / 0.4921 GB, free: 18.47 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.008e-05/0.1086, allocations: 0 / 0.4921 GB, free: 18.47 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 3.482e-05/0.1086, allocations: 1.25 kB / 0.4921 GB, free: 18.47 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.1086, allocations: 0 / 0.4921 GB, free: 18.47 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1086, allocations: 0 / 0.4921 GB, free: 18.47 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.472e-05/0.1087, allocations: 0 / 0.4921 GB, free: 18.47 MB / 366.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.0002254/0.1089, allocations: 308.2 kB / 0.4924 GB, free: 18.12 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.1089, allocations: 8.656 kB / 0.4924 GB, free: 18.12 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.455e-05/0.109, allocations: 5.891 kB / 0.4924 GB, free: 18.12 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.678e-05/0.109, allocations: 176.2 kB / 0.4926 GB, free: 17.91 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.109, allocations: 1.312 kB / 0.4926 GB, free: 17.91 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/0.109, allocations: 2.062 kB / 0.4926 GB, free: 17.91 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.547e-05/0.1091, allocations: 42.61 kB / 0.4927 GB, free: 17.86 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.1092, allocations: 192 / 0.4927 GB, free: 17.86 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.1092, allocations: 5.062 kB / 0.4927 GB, free: 17.86 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1092, allocations: 0 / 0.4927 GB, free: 17.86 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.045e-05/0.1092, allocations: 6.375 kB / 0.4927 GB, free: 17.85 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000251/0.1094, allocations: 468.3 kB / 0.4931 GB, free: 17.34 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.423e-05/0.1095, allocations: 174.7 kB / 0.4933 GB, free: 17.16 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.831e-05/0.1095, allocations: 84.14 kB / 0.4934 GB, free: 17.08 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.1095, allocations: 83.22 kB / 0.4934 GB, free: 17 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.1095, allocations: 111.4 kB / 0.4936 GB, free: 16.88 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/0.1095, allocations: 0 / 0.4936 GB, free: 16.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 5.768e-05/0.1096, allocations: 26.89 kB / 0.4936 GB, free: 16.85 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.825e-05/0.1096, allocations: 130.7 kB / 0.4937 GB, free: 16.71 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.622e-05/0.1097, allocations: 96.42 kB / 0.4938 GB, free: 16.61 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.092e-06/0.1097, allocations: 27.14 kB / 0.4938 GB, free: 16.57 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.517e-05/0.1097, allocations: 89.56 kB / 0.4939 GB, free: 16.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.735e-06/0.1097, allocations: 0 / 0.4939 GB, free: 16.48 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.197e-05/0.1097, allocations: 11.22 kB / 0.4939 GB, free: 16.47 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.352e-05/0.1098, allocations: 316.2 kB / 0.4942 GB, free: 16.15 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.207e-06/0.1098, allocations: 1.438 kB / 0.4942 GB, free: 16.15 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.097e-05/0.1098, allocations: 20.45 kB / 0.4942 GB, free: 16.13 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.301e-05/0.1098, allocations: 16.28 kB / 0.4943 GB, free: 16.11 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1098, allocations: 5.281 kB / 0.4943 GB, free: 16.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.512e-05/0.1099, allocations: 42.11 kB / 0.4943 GB, free: 16.07 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.1099, allocations: 4.125 kB / 0.4943 GB, free: 16.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.1099, allocations: 1.438 kB / 0.4943 GB, free: 16.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.1099, allocations: 0 / 0.4943 GB, free: 16.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.007e-05/0.11, allocations: 7.547 kB / 0.4943 GB, free: 16.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.11, allocations: 1.875 kB / 0.4943 GB, free: 16.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.315e-05/0.11, allocations: 8.062 kB / 0.4943 GB, free: 16.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.11, allocations: 1.781 kB / 0.4943 GB, free: 16.05 MB / 366.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 4.89e-05/0.1101, allocations: 186.5 kB / 0.4945 GB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.642e-05/0.1101, allocations: 110.2 kB / 0.4946 GB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.173e-05/0.1101, allocations: 108.1 kB / 0.4947 GB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.467e-05/0.1102, allocations: 181.9 kB / 0.4949 GB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-05/0.1102, allocations: 185.7 kB / 0.4951 GB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-05/0.1102, allocations: 176.3 kB / 0.4952 GB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001185/0.1103, allocations: 408.3 kB / 0.4956 GB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.411e-05/0.1103, allocations: 105 kB / 0.4957 GB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.287e-05/0.1103, allocations: 102.5 kB / 0.4958 GB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.172e-05/0.1104, allocations: 184.2 kB / 0.496 GB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.492e-05/0.1104, allocations: 181.6 kB / 0.4962 GB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.069e-05/0.1104, allocations: 181.6 kB / 0.4963 GB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.059e-05/0.1104, allocations: 180.2 kB / 0.4965 GB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.821e-05/0.1105, allocations: 312 kB / 0.4968 GB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.95e-05/0.1105, allocations: 187.1 kB / 0.497 GB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.186e-05/0.1106, allocations: 185.1 kB / 0.4972 GB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.294e-05/0.1106, allocations: 106.1 kB / 0.4973 GB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.717e-05/0.1106, allocations: 177.3 kB / 0.4974 GB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/0.1106, allocations: 106.4 kB / 0.4975 GB, free: 12.56 MB / 366.1 MB Notification: Performance of sorting global known variables: time 1.767e-05/0.1107, allocations: 85.22 kB / 0.4976 GB, free: 12.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1107, allocations: 0 / 0.4976 GB, free: 12.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00022/0.1109, allocations: 1.156 kB / 0.4976 GB, free: 12.48 MB / 366.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 7.958e-05/0.111, allocations: 169.8 kB / 0.4978 GB, free: 12.31 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 7.479e-05/0.111, allocations: 8.406 kB / 0.4978 GB, free: 12.31 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/0.111, allocations: 0 / 0.4978 GB, free: 12.31 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.395e-06/0.111, allocations: 3.938 kB / 0.4978 GB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002478/0.1113, allocations: 461.6 kB / 0.4982 GB, free: 11.85 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001627/0.1115, allocations: 150.7 kB / 0.4984 GB, free: 11.68 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.49e-05/0.1116, allocations: 0.6737 MB / 0.499 GB, free: 10.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.635e-05/0.1116, allocations: 0 / 0.499 GB, free: 10.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.439e-05/0.1116, allocations: 8.656 kB / 0.499 GB, free: 10.98 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1116, allocations: 0 / 0.499 GB, free: 10.98 MB / 366.1 MB Notification: Performance of Templates: time 0.002127/0.1137, allocations: 185.3 kB / 0.4992 GB, free: 10.87 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.makefile [Timeout 660] (rm -f PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.pipe ; mkfifo PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.pipe >> ../files/PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.sim & ./PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants -abortSlowSimulation -alarm=50 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.pipe 2>&1) [Timeout 50] diffSimulationResults("PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Functions.Test.TestTimeConstants_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/PowerGrids_dev_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: 4.872850846033543]