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.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.001494/0.001494, allocations: 110 kB / 18.93 MB, free: 2.945 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.00151/0.00151, allocations: 185.9 kB / 22.23 MB, free: 5.16 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.555/1.555, allocations: 207.6 MB / 233 MB, free: 10.01 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.06933/0.06933, allocations: 14.39 MB / 299.6 MB, free: 7.453 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.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_PowerGrids.Functions.Test.TestTimeConstants") translateModel(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="T1|T2|time",fileNamePrefix="PowerGrids_PowerGrids.Functions.Test.TestTimeConstants") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002203/0.002203, allocations: 75.89 kB / 421.1 MB, free: 38.8 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09571/0.09792, allocations: 52.9 MB / 474 MB, free: 1.832 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001693/0.09961, allocations: 492 kB / 474.4 MB, free: 1.355 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003619/0.09997, allocations: 132 kB / 474.6 MB, free: 1.227 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.549e-05/0.1, allocations: 0 / 474.6 MB, free: 1.227 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.303e-05/0.1, allocations: 0 / 474.6 MB, free: 1.227 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002629/0.1003, allocations: 19.92 kB / 474.6 MB, free: 1.207 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.737e-06/0.1003, allocations: 0 / 474.6 MB, free: 1.207 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 3.344e-05/0.1003, allocations: 3.938 kB / 474.6 MB, free: 1.203 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.707e-05/0.1004, allocations: 4 kB / 474.6 MB, free: 1.199 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.715e-05/0.1004, allocations: 4 kB / 474.6 MB, free: 1.195 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001213/0.1005, allocations: 15.91 kB / 474.6 MB, free: 1.18 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.488e-06/0.1005, allocations: 0 / 474.6 MB, free: 1.18 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.845e-06/0.1005, allocations: 4 kB / 474.6 MB, free: 1.176 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.651e-06/0.1005, allocations: 0 / 474.6 MB, free: 1.176 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.316e-05/0.1005, allocations: 4 kB / 474.6 MB, free: 1.172 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 3.375e-05/0.1006, allocations: 3.938 kB / 474.6 MB, free: 1.168 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.1006, allocations: 0 / 474.6 MB, free: 1.168 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1006, allocations: 0 / 474.6 MB, free: 1.168 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.1006, allocations: 0 / 474.6 MB, free: 1.168 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.0002677/0.1008, allocations: 234.4 kB / 474.8 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.1009, allocations: 8.031 kB / 474.9 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.779e-05/0.1009, allocations: 0.9375 kB / 474.9 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.386e-05/0.101, allocations: 118.5 kB / 475 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.101, allocations: 384 / 475 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.011e-06/0.101, allocations: 384 / 475 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.705e-05/0.1011, allocations: 39.98 kB / 475 MB, free: 0.707 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.772e-06/0.1011, allocations: 192 / 475 MB, free: 0.707 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.1011, allocations: 3.938 kB / 475 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.1011, allocations: 3.938 kB / 475 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.596e-05/0.1011, allocations: 4 kB / 475 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004742/0.1016, allocations: 438.7 kB / 475.5 MB, free: 224 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.377e-05/0.1017, allocations: 173 kB / 475.6 MB, free: 40 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.037e-05/0.1018, allocations: 84.2 kB / 475.7 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.811e-05/0.1018, allocations: 79.28 kB / 475.8 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.281e-05/0.1019, allocations: 109.8 kB / 475.9 MB, free: 15.76 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.1019, allocations: 0 / 475.9 MB, free: 15.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 6.532e-05/0.102, allocations: 29.7 kB / 475.9 MB, free: 15.72 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.916e-05/0.102, allocations: 130.7 kB / 476 MB, free: 15.58 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.1021, allocations: 97.8 kB / 476.1 MB, free: 15.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.1021, allocations: 29.77 kB / 476.2 MB, free: 15.44 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.787e-05/0.1022, allocations: 88.09 kB / 476.3 MB, free: 15.35 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.262e-06/0.1022, allocations: 7.984 kB / 476.3 MB, free: 15.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.1023, allocations: 17.67 kB / 476.3 MB, free: 15.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.1024, allocations: 310.8 kB / 476.6 MB, free: 15.01 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.303e-05/0.1025, allocations: 7.984 kB / 476.6 MB, free: 15 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.895e-05/0.1025, allocations: 9.719 kB / 476.6 MB, free: 14.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.546e-05/0.1025, allocations: 21.78 kB / 476.6 MB, free: 14.96 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.1025, allocations: 3.938 kB / 476.6 MB, free: 14.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001021/0.1026, allocations: 37.64 kB / 476.7 MB, free: 14.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.1026, allocations: 11.94 kB / 476.7 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.1026, allocations: 0 / 476.7 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.1027, allocations: 0 / 476.7 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.407e-05/0.1027, allocations: 11.98 kB / 476.7 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.1027, allocations: 0 / 476.7 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.373e-05/0.1027, allocations: 4.062 kB / 476.7 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-06/0.1027, allocations: 0 / 476.7 MB, free: 14.88 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.0001128/0.1028, allocations: 193.1 kB / 476.9 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/0.103, allocations: 104.9 kB / 477 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.78e-05/0.103, allocations: 104.1 kB / 477.1 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000205/0.1032, allocations: 188.2 kB / 477.3 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.203e-05/0.1033, allocations: 180.3 kB / 477.4 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-05/0.1034, allocations: 176.3 kB / 477.6 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003619/0.1037, allocations: 380.2 kB / 478 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.622e-05/0.1038, allocations: 109 kB / 478.1 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.44e-05/0.1039, allocations: 104.9 kB / 478.2 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.998e-05/0.104, allocations: 180.3 kB / 478.4 MB, free: 13.08 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.231e-05/0.104, allocations: 180.3 kB / 478.5 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.726e-05/0.1041, allocations: 184.2 kB / 478.7 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.156e-05/0.1042, allocations: 180.2 kB / 478.9 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001696/0.1044, allocations: 307.7 kB / 479.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.92e-05/0.1044, allocations: 112.9 kB / 479.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.1045, allocations: 180.5 kB / 479.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.323e-05/0.1046, allocations: 101 kB / 479.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.721e-05/0.1047, allocations: 180.2 kB / 479.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.633e-05/0.1048, allocations: 109 kB / 479.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.518e-05/0.1048, allocations: 83.28 kB / 480 MB, free: 11.42 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1048, allocations: 0 / 480 MB, free: 11.42 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002804/0.1051, allocations: 0 / 480 MB, free: 11.42 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.0001293/0.1052, allocations: 166.5 kB / 480.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 7.049e-05/0.1053, allocations: 11.92 kB / 480.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1053, allocations: 0 / 480.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.252e-06/0.1053, allocations: 3.938 kB / 480.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000436/0.1057, allocations: 463.8 kB / 480.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002381/0.106, allocations: 156.2 kB / 480.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003797/0.1064, allocations: 0.669 MB / 481.4 MB, free: 9.895 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.961e-05/0.1064, allocations: 7.922 kB / 481.4 MB, free: 9.887 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.975e-05/0.1064, allocations: 11.44 kB / 481.4 MB, free: 9.875 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1064, allocations: 0 / 481.4 MB, free: 9.875 MB / 350.1 MB Notification: Performance of Templates: time 0.002328/0.1087, allocations: 185.2 kB / 481.6 MB, free: 9.695 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.makefile [Timeout 660] (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 & ./PowerGrids_PowerGrids.Functions.Test.TestTimeConstants -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerGrids_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_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.677093771286309]