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.001627/0.001627, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001822/0.001822, allocations: 215.9 kB / 22.99 MB, free: 4.945 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.401/1.401, allocations: 207.7 MB / 233.9 MB, free: 9.793 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.07172/0.07172, allocations: 14.39 MB / 300.5 MB, free: 7.246 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.002294/0.002294, allocations: 71.89 kB / 421.8 MB, free: 38.59 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07081/0.0731, allocations: 52.9 MB / 474.7 MB, free: 1.602 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001582/0.07469, allocations: 499.9 kB / 475.2 MB, free: 1.117 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003388/0.07502, allocations: 112.1 kB / 475.3 MB, free: 1.008 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.383e-05/0.07505, allocations: 0 / 475.3 MB, free: 1.008 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.47e-05/0.07506, allocations: 0 / 475.3 MB, free: 1.008 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002474/0.07531, allocations: 23.91 kB / 475.4 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.596e-06/0.07531, allocations: 0 / 475.4 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 3.125e-05/0.07535, allocations: 4 kB / 475.4 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.994e-05/0.0754, allocations: 4 kB / 475.4 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.048e-05/0.07541, allocations: 0 / 475.4 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.07551, allocations: 23.91 kB / 475.4 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.927e-06/0.07552, allocations: 0 / 475.4 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.036e-06/0.07552, allocations: 0 / 475.4 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.641e-06/0.07552, allocations: 0 / 475.4 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.405e-06/0.07553, allocations: 0 / 475.4 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 3.15e-05/0.07556, allocations: 0 / 475.4 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.07557, allocations: 0 / 475.4 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.07557, allocations: 4 kB / 475.4 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.07557, allocations: 0 / 475.4 MB, free: 0.9492 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.0002536/0.07583, allocations: 238.4 kB / 475.6 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.07586, allocations: 12.03 kB / 475.6 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.045e-05/0.07588, allocations: 0.9375 kB / 475.6 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.405e-05/0.07596, allocations: 110.5 kB / 475.8 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.07598, allocations: 4.375 kB / 475.8 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.122e-05/0.07599, allocations: 4.375 kB / 475.8 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.272e-05/0.07608, allocations: 39.98 kB / 475.8 MB, free: 492 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.07609, allocations: 192 / 475.8 MB, free: 492 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.07609, allocations: 7.938 kB / 475.8 MB, free: 484 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.0761, allocations: 0 / 475.8 MB, free: 484 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.934e-05/0.07612, allocations: 7.938 kB / 475.8 MB, free: 476 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003238/0.07644, allocations: 415.3 kB / 476.2 MB, free: 24 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001108/0.07655, allocations: 165.1 kB / 476.4 MB, free: 15.85 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.037e-05/0.07659, allocations: 92.05 kB / 476.5 MB, free: 15.76 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.423e-05/0.07663, allocations: 75.28 kB / 476.5 MB, free: 15.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.541e-05/0.07668, allocations: 109.8 kB / 476.7 MB, free: 15.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.07668, allocations: 0 / 476.7 MB, free: 15.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 6.625e-05/0.07675, allocations: 29.7 kB / 476.7 MB, free: 15.53 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.557e-05/0.07682, allocations: 126.7 kB / 476.8 MB, free: 15.39 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.867e-05/0.0769, allocations: 109.8 kB / 476.9 MB, free: 15.28 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.07692, allocations: 25.7 kB / 476.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.977e-05/0.07697, allocations: 84.09 kB / 477 MB, free: 15.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.204e-06/0.07697, allocations: 0 / 477 MB, free: 15.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.861e-05/0.077, allocations: 13.72 kB / 477 MB, free: 15.14 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.07713, allocations: 314.8 kB / 477.3 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.005e-06/0.07714, allocations: 0 / 477.3 MB, free: 14.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.835e-05/0.07715, allocations: 17.7 kB / 477.4 MB, free: 14.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.279e-05/0.07719, allocations: 21.84 kB / 477.4 MB, free: 14.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.07719, allocations: 0 / 477.4 MB, free: 14.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001025/0.07729, allocations: 45.58 kB / 477.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.0773, allocations: 9.562 kB / 477.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.07731, allocations: 0 / 477.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.07732, allocations: 0 / 477.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.488e-05/0.07736, allocations: 4 kB / 477.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.07737, allocations: 3.984 kB / 477.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.24e-05/0.07738, allocations: 0 / 477.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-06/0.07739, allocations: 0 / 477.4 MB, free: 14.71 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 9.855e-05/0.07748, allocations: 189.2 kB / 477.6 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.685e-05/0.07755, allocations: 104.9 kB / 477.7 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.61e-05/0.07761, allocations: 116.1 kB / 477.8 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.369e-05/0.07768, allocations: 176.3 kB / 478 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-05/0.07776, allocations: 184.2 kB / 478.2 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.24e-05/0.07783, allocations: 184.2 kB / 478.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002127/0.07804, allocations: 352.9 kB / 478.7 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.657e-05/0.07809, allocations: 113 kB / 478.8 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.575e-05/0.07814, allocations: 108.9 kB / 478.9 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.754e-05/0.07821, allocations: 184.2 kB / 479.1 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.542e-05/0.07829, allocations: 184.3 kB / 479.3 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.275e-05/0.07836, allocations: 180.2 kB / 479.5 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.169e-05/0.07843, allocations: 180.2 kB / 479.6 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001539/0.07859, allocations: 311.8 kB / 480 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.127e-05/0.07864, allocations: 104.9 kB / 480.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.629e-05/0.07873, allocations: 184.5 kB / 480.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.441e-05/0.07881, allocations: 109 kB / 480.3 MB, free: 11.63 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.794e-05/0.07889, allocations: 176.3 kB / 480.5 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.743e-05/0.07894, allocations: 108.9 kB / 480.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.405e-05/0.07898, allocations: 79.28 kB / 480.7 MB, free: 11.26 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.07898, allocations: 4.094 kB / 480.7 MB, free: 11.26 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002122/0.07919, allocations: 0 / 480.7 MB, free: 11.26 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.0001091/0.0793, allocations: 166.5 kB / 480.9 MB, free: 11.08 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 6.807e-05/0.07937, allocations: 8 kB / 480.9 MB, free: 11.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.07938, allocations: 0 / 480.9 MB, free: 11.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.336e-06/0.07938, allocations: 3.938 kB / 480.9 MB, free: 11.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003746/0.07975, allocations: 459.7 kB / 481.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002351/0.07999, allocations: 185.8 kB / 481.5 MB, free: 10.4 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.016e-05/0.08004, allocations: 55.48 kB / 481.6 MB, free: 10.33 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.954e-05/0.08006, allocations: 11.44 kB / 481.6 MB, free: 10.32 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.08006, allocations: 0 / 481.6 MB, free: 10.32 MB / 350.1 MB Notification: Performance of Templates: time 0.001499/0.08156, allocations: 347.8 kB / 481.9 MB, free: 9.977 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.623776943888515]