Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_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.001975/0.001975, allocations: 75.91 kB / 20.52 MB, free: 1.281 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.002349/0.002349, allocations: 165.9 kB / 23.78 MB, free: 4.453 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.43/1.43, allocations: 158.6 MB / 185.5 MB, free: 6.215 MB / 174.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.06612/0.06612, allocations: 10.65 MB / 248.4 MB, free: 8.461 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: translateModel(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="T1|T2|time",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants") translateModel(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="T1|T2|time",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants") [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.002514/0.002514, allocations: 67.89 kB / 369.7 MB, free: 12.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09899/0.1015, allocations: 52.9 MB / 422.6 MB, free: 7.734 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001745/0.1032, allocations: 481.2 kB / 423.1 MB, free: 7.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003289/0.1036, allocations: 119.6 kB / 423.2 MB, free: 7.152 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.486e-05/0.1036, allocations: 4 kB / 423.2 MB, free: 7.148 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.154e-05/0.1036, allocations: 3.938 kB / 423.2 MB, free: 7.145 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002912/0.1039, allocations: 23.91 kB / 423.3 MB, free: 7.121 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.268e-06/0.1039, allocations: 0 / 423.3 MB, free: 7.121 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.584e-05/0.1039, allocations: 0 / 423.3 MB, free: 7.121 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.116e-05/0.104, allocations: 0 / 423.3 MB, free: 7.121 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.452e-05/0.104, allocations: 4 kB / 423.3 MB, free: 7.117 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001175/0.1041, allocations: 15.97 kB / 423.3 MB, free: 7.102 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.428e-06/0.1041, allocations: 0 / 423.3 MB, free: 7.102 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.946e-06/0.1041, allocations: 0 / 423.3 MB, free: 7.102 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.113e-06/0.1041, allocations: 0 / 423.3 MB, free: 7.102 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.307e-05/0.1042, allocations: 7.938 kB / 423.3 MB, free: 7.094 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 3.757e-05/0.1042, allocations: 0 / 423.3 MB, free: 7.094 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1042, allocations: 0 / 423.3 MB, free: 7.094 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1042, allocations: 0 / 423.3 MB, free: 7.094 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.1042, allocations: 0 / 423.3 MB, free: 7.094 MB / 350.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.0003032/0.1045, allocations: 242.4 kB / 423.5 MB, free: 6.824 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.1045, allocations: 12.03 kB / 423.5 MB, free: 6.812 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.173e-05/0.1046, allocations: 12.92 kB / 423.6 MB, free: 6.801 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.335e-05/0.1047, allocations: 102.5 kB / 423.7 MB, free: 6.676 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.1047, allocations: 384 / 423.7 MB, free: 6.676 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.1047, allocations: 384 / 423.7 MB, free: 6.676 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/0.1048, allocations: 43.98 kB / 423.7 MB, free: 6.621 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.1048, allocations: 192 / 423.7 MB, free: 6.621 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.1048, allocations: 7.938 kB / 423.7 MB, free: 6.613 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-06/0.1048, allocations: 0 / 423.7 MB, free: 6.613 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.899e-05/0.1048, allocations: 3.938 kB / 423.7 MB, free: 6.609 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003321/0.1052, allocations: 419.4 kB / 424.1 MB, free: 6.164 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/0.1053, allocations: 169.1 kB / 424.3 MB, free: 5.988 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.926e-05/0.1053, allocations: 84.08 kB / 424.4 MB, free: 5.902 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.064e-05/0.1054, allocations: 83.22 kB / 424.4 MB, free: 5.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.571e-05/0.1054, allocations: 105.8 kB / 424.5 MB, free: 5.707 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 9.31e-07/0.1054, allocations: 0 / 424.5 MB, free: 5.707 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.375e-05/0.1055, allocations: 25.7 kB / 424.6 MB, free: 5.676 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.05e-05/0.1056, allocations: 130.7 kB / 424.7 MB, free: 5.535 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.16e-05/0.1057, allocations: 105.8 kB / 424.8 MB, free: 5.422 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.1057, allocations: 25.7 kB / 424.8 MB, free: 5.391 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.379e-05/0.1057, allocations: 92.22 kB / 424.9 MB, free: 5.297 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.675e-06/0.1057, allocations: 0 / 424.9 MB, free: 5.297 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.874e-05/0.1058, allocations: 9.719 kB / 424.9 MB, free: 5.281 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.1059, allocations: 314.8 kB / 425.2 MB, free: 4.965 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.158e-05/0.1059, allocations: 3.984 kB / 425.2 MB, free: 4.961 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.948e-05/0.1059, allocations: 21.66 kB / 425.3 MB, free: 4.934 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.293e-05/0.106, allocations: 17.66 kB / 425.3 MB, free: 4.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.106, allocations: 0 / 425.3 MB, free: 4.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001069/0.1061, allocations: 49.64 kB / 425.3 MB, free: 4.855 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.1061, allocations: 4 kB / 425.3 MB, free: 4.852 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.217e-06/0.1061, allocations: 0 / 425.3 MB, free: 4.852 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.1061, allocations: 4 kB / 425.3 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.09e-05/0.1061, allocations: 3.984 kB / 425.3 MB, free: 4.844 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.1062, allocations: 4 kB / 425.3 MB, free: 4.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.343e-05/0.1062, allocations: 0 / 425.3 MB, free: 4.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-06/0.1062, allocations: 0 / 425.3 MB, free: 4.84 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.0001028/0.1063, allocations: 185.1 kB / 425.5 MB, free: 4.648 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.647e-05/0.1063, allocations: 108.9 kB / 425.6 MB, free: 4.535 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.316e-05/0.1064, allocations: 108.2 kB / 425.7 MB, free: 4.422 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.843e-05/0.1065, allocations: 188.2 kB / 425.9 MB, free: 4.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-05/0.1066, allocations: 184.2 kB / 426.1 MB, free: 4.043 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.237e-05/0.1066, allocations: 176.3 kB / 426.3 MB, free: 3.863 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000217/0.1068, allocations: 352.8 kB / 426.6 MB, free: 3.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.967e-05/0.1069, allocations: 105 kB / 426.7 MB, free: 3.371 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.256e-05/0.1069, allocations: 116.9 kB / 426.8 MB, free: 3.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.063e-05/0.107, allocations: 180.2 kB / 427 MB, free: 3.066 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-05/0.1071, allocations: 176.3 kB / 427.2 MB, free: 2.887 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.231e-05/0.1072, allocations: 184.2 kB / 427.4 MB, free: 2.699 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-05/0.1073, allocations: 180.3 kB / 427.5 MB, free: 2.516 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005669/0.1078, allocations: 1.086 MB / 428.6 MB, free: 1.359 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.866e-05/0.1079, allocations: 101 kB / 428.7 MB, free: 1.254 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.81e-05/0.1079, allocations: 176.3 kB / 428.9 MB, free: 1.074 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.567e-05/0.108, allocations: 112.9 kB / 429 MB, free: 0.957 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.452e-05/0.1081, allocations: 188.2 kB / 429.2 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.333e-05/0.1082, allocations: 108.9 kB / 429.3 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.113e-05/0.1082, allocations: 79.28 kB / 429.4 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1082, allocations: 0 / 429.4 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003276/0.1085, allocations: 0 / 429.4 MB, free: 0.5742 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.0001186/0.1087, allocations: 170.6 kB / 429.5 MB, free: 404 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 5.952e-05/0.1087, allocations: 4 kB / 429.5 MB, free: 400 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1087, allocations: 0 / 429.5 MB, free: 400 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/0.1087, allocations: 0 / 429.5 MB, free: 400 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004024/0.1091, allocations: 463.6 kB / 430 MB, free: 15.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002106/0.1093, allocations: 160.1 kB / 430.2 MB, free: 15.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.743e-05/0.1094, allocations: 55.36 kB / 430.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.349e-05/0.1094, allocations: 0 / 430.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.758e-05/0.1094, allocations: 12.44 kB / 430.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1094, allocations: 8.125 kB / 430.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of Templates: time 0.002043/0.1114, allocations: 165.2 kB / 430.4 MB, free: 15.5 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.makefile [Timeout 660] (rm -f PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.sim & ./PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerGrids_symb_jac_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_symb_jac_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.576748506980948]