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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001755/0.001755, allocations: 103.4 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001987/0.001987, allocations: 188.4 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.387/1.387, allocations: 207.6 MB / 231.9 MB, free: 11.18 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06815/0.06815, allocations: 14.4 MB / 298.4 MB, free: 8.059 MB / 238.1 MB [Timeout remaining time 90] 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=502,variableFilter="T1|T2|time",fileNamePrefix="PowerGrids_PowerGrids.Functions.Test.TestTimeConstants") translateModel(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="mat",numberOfIntervals=502,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.002129/0.002129, allocations: 75.88 kB / 419.1 MB, free: 39.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07106/0.07319, allocations: 52.87 MB / 471.9 MB, free: 2.559 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001532/0.07472, allocations: 489 kB / 472.4 MB, free: 2.082 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003318/0.07505, allocations: 119.6 kB / 472.5 MB, free: 1.965 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.511e-05/0.07508, allocations: 0 / 472.5 MB, free: 1.965 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.197e-05/0.07509, allocations: 0 / 472.5 MB, free: 1.965 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002737/0.07536, allocations: 23.92 kB / 472.6 MB, free: 1.941 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.226e-06/0.07537, allocations: 0 / 472.6 MB, free: 1.941 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 3.272e-05/0.0754, allocations: 7.922 kB / 472.6 MB, free: 1.934 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.412e-05/0.07544, allocations: 4 kB / 472.6 MB, free: 1.93 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.321e-05/0.07546, allocations: 3.938 kB / 472.6 MB, free: 1.926 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.07556, allocations: 11.98 kB / 472.6 MB, free: 1.914 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.637e-06/0.07557, allocations: 0 / 472.6 MB, free: 1.914 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.515e-06/0.07557, allocations: 0 / 472.6 MB, free: 1.914 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.382e-06/0.07558, allocations: 0 / 472.6 MB, free: 1.914 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.498e-06/0.07558, allocations: 4 kB / 472.6 MB, free: 1.91 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 3.72e-05/0.07562, allocations: 7.922 kB / 472.6 MB, free: 1.902 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.07563, allocations: 4 kB / 472.6 MB, free: 1.898 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.07563, allocations: 0 / 472.6 MB, free: 1.898 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.07563, allocations: 0 / 472.6 MB, free: 1.898 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.0003077/0.07594, allocations: 311.9 kB / 472.9 MB, free: 1.543 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.07598, allocations: 12.06 kB / 472.9 MB, free: 1.531 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.867e-05/0.076, allocations: 4.922 kB / 472.9 MB, free: 1.527 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.07612, allocations: 160.4 kB / 473.1 MB, free: 1.332 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.07613, allocations: 4.375 kB / 473.1 MB, free: 1.328 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.839e-06/0.07614, allocations: 384 / 473.1 MB, free: 1.328 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.589e-05/0.07624, allocations: 43.98 kB / 473.1 MB, free: 1.273 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.07625, allocations: 4.125 kB / 473.1 MB, free: 1.27 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.07626, allocations: 7.875 kB / 473.1 MB, free: 1.262 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.07626, allocations: 4 kB / 473.1 MB, free: 1.258 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.514e-05/0.07628, allocations: 0 / 473.1 MB, free: 1.258 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003948/0.07667, allocations: 471.6 kB / 473.6 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001014/0.07677, allocations: 181 kB / 473.8 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.017e-05/0.07682, allocations: 86.47 kB / 473.9 MB, free: 480 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.322e-05/0.07686, allocations: 75.28 kB / 473.9 MB, free: 404 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.955e-05/0.07691, allocations: 113.8 kB / 474.1 MB, free: 280 kB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 7.22e-07/0.07691, allocations: 0 / 474.1 MB, free: 280 kB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 7.187e-05/0.07698, allocations: 25.7 kB / 474.1 MB, free: 248 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.216e-05/0.07704, allocations: 130.6 kB / 474.2 MB, free: 104 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.07715, allocations: 97.94 kB / 474.3 MB, free: 15.99 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.07716, allocations: 25.7 kB / 474.3 MB, free: 15.96 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.685e-05/0.07721, allocations: 84.22 kB / 474.4 MB, free: 15.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.288e-06/0.07721, allocations: 8 kB / 474.4 MB, free: 15.87 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.104e-05/0.07724, allocations: 17.66 kB / 474.4 MB, free: 15.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.07738, allocations: 310.8 kB / 474.7 MB, free: 15.53 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.879e-06/0.07739, allocations: 4 kB / 474.7 MB, free: 15.53 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.769e-05/0.07741, allocations: 13.72 kB / 474.8 MB, free: 15.51 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.955e-05/0.07744, allocations: 17.78 kB / 474.8 MB, free: 15.48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.07744, allocations: 3.938 kB / 474.8 MB, free: 15.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.441e-05/0.07754, allocations: 45.62 kB / 474.8 MB, free: 15.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.07755, allocations: 8 kB / 474.8 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.07756, allocations: 3.938 kB / 474.8 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.07757, allocations: 0 / 474.8 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.557e-05/0.07761, allocations: 4 kB / 474.8 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.07762, allocations: 0 / 474.8 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.185e-05/0.07763, allocations: 0 / 474.8 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.07763, allocations: 4.062 kB / 474.8 MB, free: 15.41 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.0001062/0.07774, allocations: 193 kB / 475 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.417e-05/0.0778, allocations: 101 kB / 475.1 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.647e-05/0.07786, allocations: 108.1 kB / 475.2 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.031e-05/0.07794, allocations: 188.2 kB / 475.4 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.135e-05/0.07801, allocations: 176.3 kB / 475.6 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.97e-05/0.07809, allocations: 184.2 kB / 475.8 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002632/0.07836, allocations: 405.2 kB / 476.2 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-05/0.0784, allocations: 101 kB / 476.3 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.193e-05/0.07845, allocations: 108.9 kB / 476.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.496e-05/0.07852, allocations: 176.3 kB / 476.5 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.643e-05/0.0786, allocations: 188.2 kB / 476.7 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-05/0.07868, allocations: 180.3 kB / 476.9 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.888e-05/0.07876, allocations: 180.3 kB / 477.1 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001531/0.07891, allocations: 311.6 kB / 477.4 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.437e-05/0.079, allocations: 186 kB / 477.6 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.727e-05/0.07909, allocations: 184.5 kB / 477.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.128e-05/0.07917, allocations: 101 kB / 477.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.872e-05/0.07926, allocations: 184.2 kB / 478 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.201e-05/0.07931, allocations: 109 kB / 478.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.082e-05/0.07935, allocations: 83.27 kB / 478.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.07936, allocations: 0 / 478.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002231/0.07958, allocations: 4.094 kB / 478.2 MB, free: 11.81 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.0001221/0.0797, allocations: 170.5 kB / 478.4 MB, free: 11.63 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 6.513e-05/0.07977, allocations: 7.938 kB / 478.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.07977, allocations: 0 / 478.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.143e-06/0.07977, allocations: 0 / 478.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004036/0.08017, allocations: 463.8 kB / 478.8 MB, free: 11.17 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002214/0.08039, allocations: 181.9 kB / 479 MB, free: 10.96 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003064/0.0807, allocations: 0.6729 MB / 479.7 MB, free: 10.26 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.795e-05/0.08072, allocations: 7.438 kB / 479.7 MB, free: 10.25 MB / 350.1 MB Notification: Performance of SimCode: time 3.6e-07/0.08072, allocations: 3.938 kB / 479.7 MB, free: 10.25 MB / 350.1 MB Notification: Performance of Templates: time 0.001515/0.08223, allocations: 347.8 kB / 480 MB, free: 9.906 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