Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_dev_PowerGrids.Functions.Test.TestTimeConstants") translateModel(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="T1|T2|time",fileNamePrefix="PowerGrids_dev_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.001011/0.001011, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009926/0.0009926, allocations: 195.2 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.228/1.228, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1677/0.1677, allocations: 16.79 MB / 307.2 MB, free: 14.84 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 63.89 kB / 371.8 MB, free: 3.598 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2679/0.2692, allocations: 53.55 MB / 425.3 MB, free: 39.46 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001462/0.2707, allocations: 483.2 kB / 425.8 MB, free: 39.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002481/0.2709, allocations: 115.8 kB / 425.9 MB, free: 39.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.235e-05/0.271, allocations: 0.5469 kB / 425.9 MB, free: 39.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.331e-05/0.271, allocations: 3.562 kB / 425.9 MB, free: 39.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002313/0.2712, allocations: 29.53 kB / 425.9 MB, free: 39.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.337e-06/0.2712, allocations: 0 / 425.9 MB, free: 39.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 2.518e-05/0.2713, allocations: 1.859 kB / 425.9 MB, free: 39.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.961e-05/0.2713, allocations: 3.781 kB / 425.9 MB, free: 39.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.027e-05/0.2713, allocations: 0 / 425.9 MB, free: 39.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.612e-05/0.2714, allocations: 14.27 kB / 425.9 MB, free: 39.26 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.468e-06/0.2714, allocations: 6.609 kB / 425.9 MB, free: 39.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.655e-06/0.2714, allocations: 0 / 425.9 MB, free: 39.26 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.611e-06/0.2714, allocations: 0 / 425.9 MB, free: 39.26 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.719e-06/0.2715, allocations: 0 / 425.9 MB, free: 39.26 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 2.778e-05/0.2715, allocations: 3.969 kB / 425.9 MB, free: 39.26 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.2715, allocations: 3.938 kB / 426 MB, free: 39.26 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2715, allocations: 0 / 426 MB, free: 39.26 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.047e-06/0.2715, allocations: 0 / 426 MB, free: 39.26 MB / 350.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.0001746/0.2717, allocations: 316.5 kB / 426.3 MB, free: 38.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.821e-05/0.2717, allocations: 9.938 kB / 426.3 MB, free: 38.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.443e-05/0.2718, allocations: 0.9375 kB / 426.3 MB, free: 38.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.79e-05/0.2718, allocations: 161.6 kB / 426.4 MB, free: 38.71 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.2718, allocations: 384 / 426.4 MB, free: 38.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.414e-06/0.2718, allocations: 3.062 kB / 426.4 MB, free: 38.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.002e-05/0.2719, allocations: 47.7 kB / 426.5 MB, free: 38.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.2719, allocations: 192 / 426.5 MB, free: 38.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.794e-06/0.2719, allocations: 3.938 kB / 426.5 MB, free: 38.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.2719, allocations: 0 / 426.5 MB, free: 38.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.761e-05/0.272, allocations: 6.562 kB / 426.5 MB, free: 38.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001988/0.2722, allocations: 467.2 kB / 426.9 MB, free: 38.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.938e-05/0.2722, allocations: 178.3 kB / 427.1 MB, free: 37.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.557e-05/0.2722, allocations: 84.08 kB / 427.2 MB, free: 37.89 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.091e-05/0.2723, allocations: 75.28 kB / 427.3 MB, free: 37.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.767e-05/0.2723, allocations: 108.7 kB / 427.4 MB, free: 37.71 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 7.81e-07/0.2723, allocations: 0 / 427.4 MB, free: 37.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 5.236e-05/0.2723, allocations: 30.36 kB / 427.4 MB, free: 37.67 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.876e-05/0.2724, allocations: 137.9 kB / 427.5 MB, free: 37.53 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.601e-05/0.2724, allocations: 95.84 kB / 427.6 MB, free: 37.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.519e-06/0.2724, allocations: 25.7 kB / 427.7 MB, free: 37.4 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.149e-05/0.2725, allocations: 88.89 kB / 427.8 MB, free: 37.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.435e-06/0.2725, allocations: 0 / 427.8 MB, free: 37.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.216e-05/0.2725, allocations: 17.56 kB / 427.8 MB, free: 37.3 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.563e-05/0.2725, allocations: 315 kB / 428.1 MB, free: 36.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.333e-06/0.2726, allocations: 3.938 kB / 428.1 MB, free: 36.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.175e-06/0.2726, allocations: 15.81 kB / 428.1 MB, free: 36.96 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.174e-05/0.2726, allocations: 15.97 kB / 428.1 MB, free: 36.95 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2726, allocations: 3.938 kB / 428.1 MB, free: 36.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.349e-05/0.2727, allocations: 40.2 kB / 428.2 MB, free: 36.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/0.2727, allocations: 6.938 kB / 428.2 MB, free: 36.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.2727, allocations: 2.625 kB / 428.2 MB, free: 36.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.2727, allocations: 3.328 kB / 428.2 MB, free: 36.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.252e-05/0.2728, allocations: 2.688 kB / 428.2 MB, free: 36.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.2728, allocations: 3.984 kB / 428.2 MB, free: 36.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.313e-05/0.2728, allocations: 6.594 kB / 428.2 MB, free: 36.9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.2728, allocations: 0 / 428.2 MB, free: 36.9 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 4.299e-05/0.2728, allocations: 190.4 kB / 428.4 MB, free: 36.71 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.248e-05/0.2729, allocations: 108.9 kB / 428.5 MB, free: 36.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.027e-05/0.2729, allocations: 110 kB / 428.6 MB, free: 36.49 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.2e-05/0.2729, allocations: 179.8 kB / 428.8 MB, free: 36.31 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.152e-05/0.273, allocations: 180.2 kB / 428.9 MB, free: 36.12 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.01e-05/0.273, allocations: 179.2 kB / 429.1 MB, free: 35.95 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001149/0.2731, allocations: 411.2 kB / 429.5 MB, free: 35.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.425e-05/0.2731, allocations: 106.9 kB / 429.6 MB, free: 35.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.232e-05/0.2731, allocations: 104.9 kB / 429.7 MB, free: 35.28 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-05/0.2732, allocations: 179.7 kB / 429.9 MB, free: 35.1 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.455e-05/0.2732, allocations: 182.5 kB / 430.1 MB, free: 34.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-05/0.2732, allocations: 181.1 kB / 430.2 MB, free: 34.73 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.007e-05/0.2732, allocations: 180.3 kB / 430.4 MB, free: 34.55 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.493e-05/0.2733, allocations: 314.2 kB / 430.7 MB, free: 34.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.895e-05/0.2733, allocations: 182 kB / 430.9 MB, free: 34.03 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.333e-05/0.2734, allocations: 186.9 kB / 431.1 MB, free: 33.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.071e-05/0.2734, allocations: 104.4 kB / 431.2 MB, free: 33.74 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.792e-05/0.2735, allocations: 188.1 kB / 431.4 MB, free: 33.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.2735, allocations: 111.1 kB / 431.5 MB, free: 33.44 MB / 350.1 MB Notification: Performance of sorting global known variables: time 1.512e-05/0.2735, allocations: 75.28 kB / 431.6 MB, free: 33.36 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2735, allocations: 0 / 431.6 MB, free: 33.36 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002101/0.2737, allocations: 2.781 kB / 431.6 MB, free: 33.36 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 5.646e-05/0.2738, allocations: 177.1 kB / 431.7 MB, free: 33.2 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 5.295e-05/0.2738, allocations: 9.938 kB / 431.7 MB, free: 33.19 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2739, allocations: 0 / 431.7 MB, free: 33.19 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.062e-06/0.2739, allocations: 0 / 431.7 MB, free: 33.19 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002293/0.2741, allocations: 459.3 kB / 432.2 MB, free: 32.74 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001292/0.2742, allocations: 158.5 kB / 432.3 MB, free: 32.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.452e-05/0.2743, allocations: 0.6752 MB / 433 MB, free: 31.88 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.214e-05/0.2743, allocations: 0 / 433 MB, free: 31.88 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.461e-05/0.2744, allocations: 7.438 kB / 433 MB, free: 31.88 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2744, allocations: 0 / 433 MB, free: 31.88 MB / 350.1 MB Notification: Performance of Templates: time 0.0015/0.2759, allocations: 165.9 kB / 433.2 MB, free: 31.84 MB / 350.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.makefile (rm -f PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.pipe ; mkfifo PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.pipe >> ../files/PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.sim & ./PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants -abortSlowSimulation -alarm=50 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.pipe 2>&1) diffSimulationResults("PowerGrids_dev_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_dev_PowerGrids.Functions.Test.TestTimeConstants.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches