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.001783/0.001783, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002209/0.002209, allocations: 217.8 kB / 23.01 MB, free: 4.609 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.411/1.411, allocations: 207.6 MB / 233.8 MB, free: 9.992 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.0701/0.0701, allocations: 14.4 MB / 300.4 MB, free: 7.434 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_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.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.002276/0.002276, allocations: 67.91 kB / 421.9 MB, free: 38.79 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09274/0.09501, allocations: 52.9 MB / 474.8 MB, free: 1.809 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001717/0.09673, allocations: 491.9 kB / 475.2 MB, free: 1.332 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004423/0.09717, allocations: 124.1 kB / 475.4 MB, free: 1.211 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.655e-05/0.09721, allocations: 4 kB / 475.4 MB, free: 1.207 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.375e-05/0.09723, allocations: 0 / 475.4 MB, free: 1.207 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003944/0.09763, allocations: 19.92 kB / 475.4 MB, free: 1.188 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.342e-06/0.09763, allocations: 0 / 475.4 MB, free: 1.188 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 4.87e-05/0.09768, allocations: 11.88 kB / 475.4 MB, free: 1.176 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.635e-05/0.09775, allocations: 0 / 475.4 MB, free: 1.176 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.78e-05/0.09776, allocations: 0 / 475.4 MB, free: 1.176 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001588/0.09792, allocations: 15.97 kB / 475.4 MB, free: 1.16 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.761e-06/0.09793, allocations: 0 / 475.4 MB, free: 1.16 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.928e-06/0.09793, allocations: 4 kB / 475.4 MB, free: 1.156 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.097e-06/0.09794, allocations: 0 / 475.4 MB, free: 1.156 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.394e-05/0.09796, allocations: 0 / 475.4 MB, free: 1.156 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 5.219e-05/0.09801, allocations: 7.938 kB / 475.4 MB, free: 1.148 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.09801, allocations: 0 / 475.4 MB, free: 1.148 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.09802, allocations: 0 / 475.4 MB, free: 1.148 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.09802, allocations: 0 / 475.4 MB, free: 1.148 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.0003568/0.09838, allocations: 238.4 kB / 475.7 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.09843, allocations: 8.031 kB / 475.7 MB, free: 0.875 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.393e-05/0.09846, allocations: 4.938 kB / 475.7 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.09856, allocations: 114.5 kB / 475.8 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.09858, allocations: 384 / 475.8 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.64e-05/0.09859, allocations: 384 / 475.8 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.09874, allocations: 47.92 kB / 475.8 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.09875, allocations: 4.172 kB / 475.8 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.09876, allocations: 3.938 kB / 475.8 MB, free: 0.668 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.09877, allocations: 0 / 475.8 MB, free: 0.668 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.135e-05/0.09879, allocations: 4 kB / 475.8 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004126/0.0992, allocations: 434.8 kB / 476.3 MB, free: 196 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001091/0.09931, allocations: 177 kB / 476.4 MB, free: 8 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.683e-05/0.09937, allocations: 80.14 kB / 476.5 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.488e-05/0.0994, allocations: 79.28 kB / 476.6 MB, free: 15.85 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.174e-05/0.09947, allocations: 109.9 kB / 476.7 MB, free: 15.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.09947, allocations: 3.938 kB / 476.7 MB, free: 15.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.853e-05/0.09954, allocations: 29.64 kB / 476.7 MB, free: 15.69 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.112e-05/0.09962, allocations: 126.7 kB / 476.9 MB, free: 15.55 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.442e-05/0.09971, allocations: 101.8 kB / 477 MB, free: 15.45 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.09973, allocations: 25.7 kB / 477 MB, free: 15.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.289e-05/0.09978, allocations: 88.22 kB / 477.1 MB, free: 15.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.675e-06/0.09978, allocations: 0 / 477.1 MB, free: 15.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.223e-05/0.09982, allocations: 17.67 kB / 477.1 MB, free: 15.3 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001831/0.1, allocations: 310.8 kB / 477.4 MB, free: 14.99 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.03e-05/0.1, allocations: 4 kB / 477.4 MB, free: 14.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.937e-05/0.1, allocations: 17.7 kB / 477.4 MB, free: 14.96 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.935e-05/0.1001, allocations: 21.72 kB / 477.4 MB, free: 14.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.1001, allocations: 3.938 kB / 477.4 MB, free: 14.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001038/0.1002, allocations: 37.7 kB / 477.5 MB, free: 14.89 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.1002, allocations: 10.44 kB / 477.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.1002, allocations: 4 kB / 477.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.1002, allocations: 0 / 477.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.895e-05/0.1003, allocations: 7.984 kB / 477.5 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.1003, allocations: 0 / 477.5 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.509e-05/0.1003, allocations: 8 kB / 477.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-06/0.1003, allocations: 0 / 477.5 MB, free: 14.86 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.000124/0.1004, allocations: 189.1 kB / 477.7 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.041e-05/0.1005, allocations: 101 kB / 477.8 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.648e-05/0.1006, allocations: 104.1 kB / 477.9 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.771e-05/0.1007, allocations: 188.2 kB / 478.1 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-05/0.1007, allocations: 184.3 kB / 478.2 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.547e-05/0.1008, allocations: 180.2 kB / 478.4 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002476/0.1011, allocations: 372.2 kB / 478.8 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.228e-05/0.1011, allocations: 113 kB / 478.9 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.253e-05/0.1012, allocations: 104.9 kB / 479 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.893e-05/0.1013, allocations: 176.3 kB / 479.2 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.579e-05/0.1013, allocations: 188.2 kB / 479.4 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.28e-05/0.1014, allocations: 176.3 kB / 479.5 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.64e-05/0.1015, allocations: 188.2 kB / 479.7 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001661/0.1017, allocations: 303.8 kB / 480 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.749e-05/0.1017, allocations: 108.9 kB / 480.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.777e-05/0.1018, allocations: 184.5 kB / 480.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.749e-05/0.1019, allocations: 108.9 kB / 480.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.178e-05/0.102, allocations: 176.3 kB / 480.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.434e-05/0.102, allocations: 105 kB / 480.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.229e-05/0.1021, allocations: 79.28 kB / 480.8 MB, free: 11.4 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1021, allocations: 4.094 kB / 480.8 MB, free: 11.4 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002162/0.1023, allocations: 3.938 kB / 480.8 MB, free: 11.39 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.0001199/0.1024, allocations: 170.5 kB / 480.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 7.64e-05/0.1025, allocations: 7.984 kB / 480.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1025, allocations: 0 / 480.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.1025, allocations: 0 / 480.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004347/0.1029, allocations: 463.8 kB / 481.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000246/0.1032, allocations: 181.9 kB / 481.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003332/0.1035, allocations: 0.6728 MB / 482.2 MB, free: 9.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.884e-05/0.1035, allocations: 11.38 kB / 482.2 MB, free: 9.828 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1035, allocations: 0 / 482.2 MB, free: 9.828 MB / 350.1 MB Notification: Performance of Templates: time 0.001675/0.1052, allocations: 355.8 kB / 482.6 MB, free: 9.477 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/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: 6.897111505037174]