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.001449/0.001449, allocations: 108 kB / 15.61 MB, free: 152 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.001514/0.001514, allocations: 195.3 kB / 16.53 MB, free: 6.664 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.421/1.421, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1789/0.1789, allocations: 16.8 MB / 307.2 MB, free: 14.86 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 55.91 kB / 371.7 MB, free: 3.629 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.294/0.2952, allocations: 53.55 MB / 425.3 MB, free: 39.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001839/0.2971, allocations: 490.6 kB / 425.8 MB, free: 39.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003684/0.2975, allocations: 117.8 kB / 425.9 MB, free: 39.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.195e-05/0.2975, allocations: 2.078 kB / 425.9 MB, free: 39.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.248e-05/0.2976, allocations: 2.938 kB / 425.9 MB, free: 39.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003495/0.2979, allocations: 29.39 kB / 425.9 MB, free: 39.08 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.25e-06/0.2979, allocations: 0 / 425.9 MB, free: 39.08 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.128e-05/0.298, allocations: 2.812 kB / 425.9 MB, free: 39.08 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.332e-05/0.2981, allocations: 3.469 kB / 425.9 MB, free: 39.08 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.651e-05/0.2981, allocations: 0 / 425.9 MB, free: 39.08 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001392/0.2982, allocations: 14.45 kB / 425.9 MB, free: 39.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.359e-06/0.2982, allocations: 2.719 kB / 425.9 MB, free: 39.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.389e-06/0.2982, allocations: 0 / 425.9 MB, free: 39.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.217e-06/0.2983, allocations: 3.984 kB / 425.9 MB, free: 39.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.462e-05/0.2983, allocations: 2.594 kB / 425.9 MB, free: 39.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 3.866e-05/0.2983, allocations: 0 / 425.9 MB, free: 39.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.2983, allocations: 0 / 425.9 MB, free: 39.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2983, allocations: 0 / 425.9 MB, free: 39.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.663e-06/0.2983, allocations: 2.844 kB / 425.9 MB, free: 39.07 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.0002797/0.2986, allocations: 311.6 kB / 426.3 MB, free: 38.72 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.2987, allocations: 11.09 kB / 426.3 MB, free: 38.72 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.627e-05/0.2987, allocations: 0.9375 kB / 426.3 MB, free: 38.72 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.632e-05/0.2988, allocations: 164.8 kB / 426.4 MB, free: 38.53 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.2988, allocations: 384 / 426.4 MB, free: 38.53 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.236e-05/0.2988, allocations: 384 / 426.4 MB, free: 38.53 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/0.299, allocations: 47.8 kB / 426.5 MB, free: 38.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.299, allocations: 192 / 426.5 MB, free: 38.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.299, allocations: 11.88 kB / 426.5 MB, free: 38.47 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.299, allocations: 0 / 426.5 MB, free: 38.47 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.015e-05/0.299, allocations: 0 / 426.5 MB, free: 38.47 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002861/0.2993, allocations: 464.6 kB / 426.9 MB, free: 37.98 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.249e-05/0.2994, allocations: 178.2 kB / 427.1 MB, free: 37.79 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.028e-05/0.2994, allocations: 82.77 kB / 427.2 MB, free: 37.71 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.2995, allocations: 78.97 kB / 427.3 MB, free: 37.64 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.2995, allocations: 105.8 kB / 427.4 MB, free: 37.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 7.51e-07/0.2995, allocations: 3.938 kB / 427.4 MB, free: 37.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.433e-05/0.2996, allocations: 33.08 kB / 427.4 MB, free: 37.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.2996, allocations: 134 kB / 427.5 MB, free: 37.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.763e-05/0.2997, allocations: 99.91 kB / 427.6 MB, free: 37.24 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.841e-06/0.2997, allocations: 25.7 kB / 427.7 MB, free: 37.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.329e-05/0.2997, allocations: 89.52 kB / 427.7 MB, free: 37.12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.436e-06/0.2997, allocations: 0 / 427.7 MB, free: 37.12 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.379e-05/0.2998, allocations: 12.66 kB / 427.8 MB, free: 37.11 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.415e-05/0.2998, allocations: 318.8 kB / 428.1 MB, free: 36.79 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.688e-06/0.2999, allocations: 0 / 428.1 MB, free: 36.79 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.189e-05/0.2999, allocations: 19.77 kB / 428.1 MB, free: 36.78 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.417e-05/0.2999, allocations: 12.47 kB / 428.1 MB, free: 36.76 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.2999, allocations: 3.938 kB / 428.1 MB, free: 36.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.616e-05/0.3, allocations: 41.27 kB / 428.1 MB, free: 36.72 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.3, allocations: 10.5 kB / 428.2 MB, free: 36.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.3, allocations: 0 / 428.2 MB, free: 36.72 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.3001, allocations: 2.406 kB / 428.2 MB, free: 36.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.876e-05/0.3001, allocations: 4.859 kB / 428.2 MB, free: 36.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.3001, allocations: 0 / 428.2 MB, free: 36.72 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.556e-05/0.3002, allocations: 6.562 kB / 428.2 MB, free: 36.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.992e-06/0.3002, allocations: 0.875 kB / 428.2 MB, free: 36.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 6.356e-05/0.3002, allocations: 188.8 kB / 428.4 MB, free: 36.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.05e-05/0.3003, allocations: 108.9 kB / 428.5 MB, free: 36.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.119e-05/0.3003, allocations: 110.2 kB / 428.6 MB, free: 36.3 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.205e-05/0.3004, allocations: 187.2 kB / 428.8 MB, free: 36.12 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.063e-05/0.3004, allocations: 176.3 kB / 428.9 MB, free: 35.94 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.322e-05/0.3004, allocations: 176.3 kB / 429.1 MB, free: 35.76 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001569/0.3006, allocations: 413.5 kB / 429.5 MB, free: 35.31 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.967e-05/0.3006, allocations: 102.8 kB / 429.6 MB, free: 35.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.082e-05/0.3006, allocations: 108.4 kB / 429.7 MB, free: 35.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-05/0.3007, allocations: 181.9 kB / 429.9 MB, free: 34.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.089e-05/0.3007, allocations: 176.3 kB / 430.1 MB, free: 34.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.859e-05/0.3007, allocations: 191.1 kB / 430.2 MB, free: 34.55 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.689e-05/0.3008, allocations: 180.3 kB / 430.4 MB, free: 34.36 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.361e-05/0.3008, allocations: 314.2 kB / 430.7 MB, free: 34.04 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.838e-05/0.3009, allocations: 182 kB / 430.9 MB, free: 33.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.965e-05/0.3009, allocations: 179.7 kB / 431.1 MB, free: 33.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.741e-05/0.301, allocations: 104.2 kB / 431.2 MB, free: 33.55 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.674e-05/0.301, allocations: 184.2 kB / 431.4 MB, free: 33.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.301, allocations: 104.8 kB / 431.5 MB, free: 33.26 MB / 350.1 MB Notification: Performance of sorting global known variables: time 1.568e-05/0.301, allocations: 78.56 kB / 431.5 MB, free: 33.19 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.301, allocations: 0 / 431.5 MB, free: 33.19 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002569/0.3013, allocations: 3.938 kB / 431.5 MB, free: 33.18 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 6.971e-05/0.3014, allocations: 169.8 kB / 431.7 MB, free: 33.02 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 5.798e-05/0.3014, allocations: 11 kB / 431.7 MB, free: 33.01 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.3015, allocations: 0 / 431.7 MB, free: 33.01 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.292e-06/0.3015, allocations: 2.875 kB / 431.7 MB, free: 33.01 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/0.3017, allocations: 461.5 kB / 432.2 MB, free: 32.56 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001286/0.3019, allocations: 157 kB / 432.3 MB, free: 32.39 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.4e-05/0.3019, allocations: 0.6755 MB / 433 MB, free: 31.7 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.356e-05/0.302, allocations: 0 / 433 MB, free: 31.7 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.381e-05/0.302, allocations: 7.438 kB / 433 MB, free: 31.7 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.302, allocations: 0 / 433 MB, free: 31.7 MB / 350.1 MB Notification: Performance of Templates: time 0.001932/0.3039, allocations: 175.3 kB / 433.2 MB, free: 31.65 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=480 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Functions.Test.TestTimeConstants_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches