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.001552/0.001552, allocations: 96.34 kB / 19.7 MB, free: 1.801 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.002121/0.002121, allocations: 214 kB / 23 MB, free: 4.617 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.596/1.596, allocations: 207.7 MB / 233.9 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.06954/0.06954, allocations: 14.39 MB / 300.5 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: 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.002227/0.002227, allocations: 71.89 kB / 421.8 MB, free: 38.6 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1032, allocations: 52.9 MB / 474.7 MB, free: 1.613 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001675/0.1049, allocations: 491.9 kB / 475.2 MB, free: 1.137 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003561/0.1053, allocations: 120 kB / 475.3 MB, free: 1.02 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.427e-05/0.1053, allocations: 0 / 475.3 MB, free: 1.02 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.747e-05/0.1053, allocations: 0 / 475.3 MB, free: 1.02 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002757/0.1056, allocations: 23.91 kB / 475.4 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.879e-06/0.1056, allocations: 0 / 475.4 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 3.544e-05/0.1056, allocations: 0 / 475.4 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.1e-05/0.1057, allocations: 4 kB / 475.4 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.33e-05/0.1057, allocations: 4 kB / 475.4 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001268/0.1058, allocations: 15.91 kB / 475.4 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.599e-06/0.1058, allocations: 4 kB / 475.4 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.516e-06/0.1058, allocations: 0 / 475.4 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.853e-06/0.1058, allocations: 0 / 475.4 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.064e-05/0.1059, allocations: 0 / 475.4 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 3.959e-05/0.1059, allocations: 0 / 475.4 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1059, allocations: 0 / 475.4 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1059, allocations: 0 / 475.4 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.046e-05/0.1059, allocations: 0 / 475.4 MB, free: 0.9688 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.0002941/0.1062, allocations: 242.4 kB / 475.6 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.1062, allocations: 16.02 kB / 475.6 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.546e-05/0.1063, allocations: 4.875 kB / 475.7 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.382e-05/0.1064, allocations: 102.5 kB / 475.8 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.1064, allocations: 384 / 475.8 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.551e-05/0.1064, allocations: 4.375 kB / 475.8 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/0.1065, allocations: 43.98 kB / 475.8 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.1065, allocations: 192 / 475.8 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.1065, allocations: 7.875 kB / 475.8 MB, free: 500 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.1065, allocations: 0 / 475.8 MB, free: 500 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.964e-05/0.1066, allocations: 7.938 kB / 475.8 MB, free: 492 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003991/0.107, allocations: 415.3 kB / 476.2 MB, free: 40 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.1071, allocations: 165.1 kB / 476.4 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.255e-05/0.1071, allocations: 88.11 kB / 476.5 MB, free: 15.78 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.261e-05/0.1072, allocations: 79.22 kB / 476.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.54e-05/0.1072, allocations: 113.8 kB / 476.7 MB, free: 15.58 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.1072, allocations: 0 / 476.7 MB, free: 15.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.311e-05/0.1073, allocations: 25.7 kB / 476.7 MB, free: 15.55 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.7e-05/0.1074, allocations: 134.7 kB / 476.8 MB, free: 15.4 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.1075, allocations: 97.81 kB / 476.9 MB, free: 15.3 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.1075, allocations: 29.83 kB / 476.9 MB, free: 15.26 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.262e-05/0.1076, allocations: 88.09 kB / 477 MB, free: 15.17 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.585e-06/0.1076, allocations: 0 / 477 MB, free: 15.17 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.988e-05/0.1076, allocations: 13.72 kB / 477 MB, free: 15.15 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.1077, allocations: 314.8 kB / 477.3 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.146e-05/0.1077, allocations: 3.984 kB / 477.4 MB, free: 14.83 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.943e-05/0.1078, allocations: 17.66 kB / 477.4 MB, free: 14.81 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.479e-05/0.1078, allocations: 17.72 kB / 477.4 MB, free: 14.79 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1078, allocations: 64 / 477.4 MB, free: 14.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001054/0.1079, allocations: 45.58 kB / 477.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.1079, allocations: 5.25 kB / 477.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.1079, allocations: 4 kB / 477.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.1079, allocations: 0 / 477.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.305e-05/0.108, allocations: 7.984 kB / 477.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.76e-06/0.108, allocations: 0 / 477.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.251e-05/0.108, allocations: 0 / 477.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.108, allocations: 0 / 477.4 MB, free: 14.72 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.0001141/0.1081, allocations: 189.1 kB / 477.6 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.64e-05/0.1082, allocations: 112.9 kB / 477.7 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.151e-05/0.1083, allocations: 108.1 kB / 477.8 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.116e-05/0.1083, allocations: 180.2 kB / 478 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.06e-05/0.1084, allocations: 180.2 kB / 478.2 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.642e-05/0.1085, allocations: 184.3 kB / 478.4 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002303/0.1087, allocations: 348.8 kB / 478.7 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.115e-05/0.1088, allocations: 116.9 kB / 478.8 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.394e-05/0.1088, allocations: 104.9 kB / 478.9 MB, free: 13.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.605e-05/0.1089, allocations: 180.2 kB / 479.1 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.026e-05/0.109, allocations: 184.3 kB / 479.3 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.725e-05/0.1091, allocations: 180.2 kB / 479.5 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.159e-05/0.1092, allocations: 184.2 kB / 479.6 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006035/0.1098, allocations: 1.071 MB / 480.7 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.351e-05/0.1098, allocations: 108.9 kB / 480.8 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.817e-05/0.1099, allocations: 184.3 kB / 481 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.579e-05/0.11, allocations: 104.9 kB / 481.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.022e-05/0.1101, allocations: 184.2 kB / 481.3 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.962e-05/0.1102, allocations: 105 kB / 481.4 MB, free: 10.54 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.39e-05/0.1102, allocations: 83.22 kB / 481.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1102, allocations: 0 / 481.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003576/0.1106, allocations: 4 kB / 481.5 MB, free: 10.45 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.0001282/0.1107, allocations: 166.6 kB / 481.6 MB, free: 10.28 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 7.775e-05/0.1108, allocations: 4 kB / 481.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1108, allocations: 0 / 481.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.102e-06/0.1108, allocations: 0 / 481.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004521/0.1112, allocations: 459.7 kB / 482.1 MB, free: 9.82 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000269/0.1115, allocations: 176 kB / 482.3 MB, free: 9.621 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.574e-05/0.1116, allocations: 51.36 kB / 482.3 MB, free: 9.551 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.02e-05/0.1116, allocations: 4.125 kB / 482.3 MB, free: 9.547 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.854e-05/0.1116, allocations: 11.44 kB / 482.3 MB, free: 9.535 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1116, allocations: 0 / 482.3 MB, free: 9.535 MB / 350.1 MB Notification: Performance of Templates: time 0.002319/0.1139, allocations: 177.1 kB / 482.5 MB, free: 9.363 MB / 350.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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Functions.Test.TestTimeConstants_res.mat","/var/lib/jenkins/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.95117942802608]