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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) 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=5000,variableFilter="T1|T2|time",fileNamePrefix="PowerGrids_PowerGrids.Functions.Test.TestTimeConstants") translateModel(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="T1|T2|time",fileNamePrefix="PowerGrids_PowerGrids.Functions.Test.TestTimeConstants") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004865/0.004865, allocations: 102.1 kB / 15.73 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 195.6 kB / 16.67 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.318/1.318, allocations: 205.1 MB / 222.5 MB, free: 4.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05909/0.05909, allocations: 14.18 MB / 284.1 MB, free: 7.035 MB / 238.1 MB 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.001564/0.001564, allocations: 71.89 kB / 396.5 MB, free: 64 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.26, allocations: 50.13 MB / 446.6 MB, free: 2.133 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001673/0.2617, allocations: 495.3 kB / 447.1 MB, free: 1.773 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003709/0.2621, allocations: 118 kB / 447.2 MB, free: 1.688 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.158e-05/0.2621, allocations: 0 / 447.2 MB, free: 1.688 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.186e-05/0.2621, allocations: 0 / 447.2 MB, free: 1.688 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000257/0.2624, allocations: 27.25 kB / 447.2 MB, free: 1.668 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.015e-06/0.2624, allocations: 0 / 447.2 MB, free: 1.668 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 3.064e-05/0.2625, allocations: 10.31 kB / 447.2 MB, free: 1.66 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.998e-05/0.2625, allocations: 1.031 kB / 447.2 MB, free: 1.66 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.152e-05/0.2625, allocations: 3.938 kB / 447.2 MB, free: 1.656 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.889e-05/0.2626, allocations: 15.66 kB / 447.2 MB, free: 1.648 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.378e-06/0.2626, allocations: 0 / 447.2 MB, free: 1.648 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.575e-06/0.2626, allocations: 0 / 447.2 MB, free: 1.648 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.931e-06/0.2626, allocations: 0 / 447.2 MB, free: 1.648 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.53e-05/0.2627, allocations: 1.344 kB / 447.2 MB, free: 1.648 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 3.416e-05/0.2627, allocations: 3.938 kB / 447.2 MB, free: 1.645 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2627, allocations: 4.875 kB / 447.2 MB, free: 1.641 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2627, allocations: 0 / 447.2 MB, free: 1.641 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.704e-06/0.2627, allocations: 0 / 447.2 MB, free: 1.641 MB / 318.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.0001687/0.2629, allocations: 311.9 kB / 447.6 MB, free: 1.289 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.2629, allocations: 8.938 kB / 447.6 MB, free: 1.289 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.232e-05/0.263, allocations: 2.281 kB / 447.6 MB, free: 1.289 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.506e-05/0.263, allocations: 164.4 kB / 447.7 MB, free: 1.09 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.977e-06/0.263, allocations: 384 / 447.7 MB, free: 1.09 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.668e-06/0.263, allocations: 2.344 kB / 447.7 MB, free: 1.09 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.656e-05/0.2631, allocations: 43.42 kB / 447.8 MB, free: 1.039 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.303e-06/0.2631, allocations: 4.125 kB / 447.8 MB, free: 1.035 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-06/0.2632, allocations: 3.938 kB / 447.8 MB, free: 1.031 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.2632, allocations: 0.9062 kB / 447.8 MB, free: 1.031 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.76e-05/0.2632, allocations: 2.125 kB / 447.8 MB, free: 1.031 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002037/0.2634, allocations: 470.9 kB / 448.2 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.066e-05/0.2634, allocations: 178 kB / 448.4 MB, free: 348 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.417e-05/0.2635, allocations: 84.17 kB / 448.5 MB, free: 260 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.205e-05/0.2635, allocations: 76.25 kB / 448.6 MB, free: 184 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/0.2635, allocations: 107.2 kB / 448.7 MB, free: 68 kB / 318.1 MB Notification: Performance of pre-optimization done (n=0): time 9.61e-07/0.2635, allocations: 4 kB / 448.7 MB, free: 64 kB / 318.1 MB Notification: Performance of matching and sorting (n=0): time 5.813e-05/0.2636, allocations: 30.67 kB / 448.7 MB, free: 28 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.451e-05/0.2637, allocations: 134.6 kB / 448.8 MB, free: 15.88 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.736e-05/0.2637, allocations: 93.2 kB / 448.9 MB, free: 15.79 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.2638, allocations: 25.7 kB / 449 MB, free: 15.75 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.723e-05/0.2638, allocations: 88.84 kB / 449 MB, free: 15.67 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.855e-06/0.2638, allocations: 0 / 449 MB, free: 15.67 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.929e-05/0.2639, allocations: 16.09 kB / 449.1 MB, free: 15.65 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.894e-05/0.264, allocations: 315.9 kB / 449.4 MB, free: 15.33 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.121e-05/0.264, allocations: 4.984 kB / 449.4 MB, free: 15.33 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.399e-05/0.264, allocations: 13.22 kB / 449.4 MB, free: 15.31 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.018e-05/0.264, allocations: 16.03 kB / 449.4 MB, free: 15.29 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.264, allocations: 5.125 kB / 449.4 MB, free: 15.29 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001001/0.2641, allocations: 41.58 kB / 449.4 MB, free: 15.25 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.2642, allocations: 6.156 kB / 449.5 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.2642, allocations: 3.938 kB / 449.5 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.2642, allocations: 1 kB / 449.5 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.897e-05/0.2642, allocations: 6.703 kB / 449.5 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.2643, allocations: 1.156 kB / 449.5 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.529e-05/0.2643, allocations: 1.062 kB / 449.5 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.2643, allocations: 1.688 kB / 449.5 MB, free: 15.24 MB / 334.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 8.717e-05/0.2644, allocations: 198.1 kB / 449.7 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.089e-05/0.2644, allocations: 102.3 kB / 449.8 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.596e-05/0.2645, allocations: 105.5 kB / 449.9 MB, free: 14.83 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.111e-05/0.2646, allocations: 188.2 kB / 450 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.034e-05/0.2646, allocations: 177.6 kB / 450.2 MB, free: 14.46 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.78e-05/0.2647, allocations: 181.3 kB / 450.4 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002032/0.2649, allocations: 410.5 kB / 450.8 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.912e-05/0.2649, allocations: 102.3 kB / 450.9 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.117e-05/0.265, allocations: 106.6 kB / 451 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.9e-05/0.265, allocations: 176.3 kB / 451.2 MB, free: 13.42 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.124e-05/0.2651, allocations: 182 kB / 451.4 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.412e-05/0.2652, allocations: 186 kB / 451.5 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.004e-05/0.2652, allocations: 180.2 kB / 451.7 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000135/0.2654, allocations: 307.5 kB / 452 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.612e-05/0.2655, allocations: 191.7 kB / 452.2 MB, free: 12.33 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.998e-05/0.2655, allocations: 180.2 kB / 452.4 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.12e-05/0.2656, allocations: 106.8 kB / 452.5 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.906e-05/0.2657, allocations: 188.1 kB / 452.7 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-05/0.2657, allocations: 102.8 kB / 452.8 MB, free: 11.74 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.268e-05/0.2658, allocations: 77.19 kB / 452.8 MB, free: 11.66 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2658, allocations: 0 / 452.8 MB, free: 11.66 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000212/0.266, allocations: 1.812 kB / 452.8 MB, free: 11.66 MB / 334.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.0001431/0.2661, allocations: 181.4 kB / 453 MB, free: 11.48 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 6.461e-05/0.2662, allocations: 7.688 kB / 453 MB, free: 11.48 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2662, allocations: 0 / 453 MB, free: 11.48 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.463e-06/0.2662, allocations: 0 / 453 MB, free: 11.48 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003268/0.2665, allocations: 461.3 kB / 453.5 MB, free: 11.03 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001814/0.2667, allocations: 161.7 kB / 453.6 MB, free: 10.85 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002257/0.267, allocations: 0.6746 MB / 454.3 MB, free: 10.15 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.565e-05/0.267, allocations: 1.781 kB / 454.3 MB, free: 10.15 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.702e-05/0.267, allocations: 11.38 kB / 454.3 MB, free: 10.14 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.267, allocations: 3.938 kB / 454.3 MB, free: 10.13 MB / 334.1 MB Notification: Performance of Templates: time 0.001686/0.2687, allocations: 176.8 kB / 454.5 MB, free: 10.04 MB / 334.1 MB make -j1 -f PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.makefile (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) 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) Reference file matches