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.001465/0.001465, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001452/0.001452, allocations: 198.1 kB / 16.25 MB, free: 6.625 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.293/1.293, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.183/0.183, allocations: 16.77 MB / 306.8 MB, free: 14.85 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 63.91 kB / 371.2 MB, free: 3.953 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.254/0.2552, allocations: 53.55 MB / 424.8 MB, free: 39.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001431/0.2567, allocations: 0.5353 MB / 425.3 MB, free: 39.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002248/0.2569, allocations: 116.8 kB / 425.4 MB, free: 38.99 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.916e-05/0.257, allocations: 0 / 425.4 MB, free: 38.99 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.571e-05/0.257, allocations: 3.469 kB / 425.4 MB, free: 38.99 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002027/0.2572, allocations: 21.56 kB / 425.5 MB, free: 38.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.587e-06/0.2572, allocations: 1.656 kB / 425.5 MB, free: 38.99 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 2.585e-05/0.2572, allocations: 3.828 kB / 425.5 MB, free: 38.99 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.989e-05/0.2573, allocations: 0 / 425.5 MB, free: 38.99 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.648e-06/0.2573, allocations: 3.031 kB / 425.5 MB, free: 38.99 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.939e-05/0.2574, allocations: 16.5 kB / 425.5 MB, free: 38.99 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.847e-06/0.2574, allocations: 0 / 425.5 MB, free: 38.99 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.515e-06/0.2574, allocations: 0 / 425.5 MB, free: 38.99 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.931e-06/0.2574, allocations: 0 / 425.5 MB, free: 38.99 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.077e-06/0.2574, allocations: 2.594 kB / 425.5 MB, free: 38.99 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 2.448e-05/0.2575, allocations: 4.609 kB / 425.5 MB, free: 38.99 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.2575, allocations: 2.375 kB / 425.5 MB, free: 38.99 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.2575, allocations: 0 / 425.5 MB, free: 38.99 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.2575, allocations: 0 / 425.5 MB, free: 38.99 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.0001631/0.2576, allocations: 316.1 kB / 425.8 MB, free: 38.64 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.807e-05/0.2577, allocations: 6.75 kB / 425.8 MB, free: 38.64 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.296e-05/0.2577, allocations: 10.89 kB / 425.8 MB, free: 38.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.243e-05/0.2578, allocations: 160.4 kB / 426 MB, free: 38.44 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.436e-06/0.2578, allocations: 384 / 426 MB, free: 38.44 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.312e-06/0.2578, allocations: 4.312 kB / 426 MB, free: 38.44 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.168e-05/0.2579, allocations: 52.55 kB / 426 MB, free: 38.39 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.081e-06/0.2579, allocations: 192 / 426 MB, free: 38.39 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.783e-06/0.2579, allocations: 3.938 kB / 426 MB, free: 38.39 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.307e-06/0.2579, allocations: 0 / 426 MB, free: 38.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.569e-05/0.2579, allocations: 10.47 kB / 426.1 MB, free: 38.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001766/0.2581, allocations: 460.6 kB / 426.5 MB, free: 37.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.563e-05/0.2581, allocations: 171.6 kB / 426.7 MB, free: 37.71 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.213e-05/0.2581, allocations: 80.14 kB / 426.8 MB, free: 37.63 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.133e-05/0.2582, allocations: 82.84 kB / 426.8 MB, free: 37.55 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.847e-05/0.2582, allocations: 108.4 kB / 426.9 MB, free: 37.44 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.202e-06/0.2582, allocations: 1.312 kB / 426.9 MB, free: 37.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 4.843e-05/0.2582, allocations: 29.7 kB / 427 MB, free: 37.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.37e-05/0.2583, allocations: 130.3 kB / 427.1 MB, free: 37.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.374e-05/0.2583, allocations: 94.17 kB / 427.2 MB, free: 37.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.967e-06/0.2583, allocations: 29.83 kB / 427.2 MB, free: 37.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.935e-05/0.2583, allocations: 86.02 kB / 427.3 MB, free: 37.05 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.835e-06/0.2584, allocations: 6.859 kB / 427.3 MB, free: 37.05 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.989e-05/0.2584, allocations: 14.39 kB / 427.3 MB, free: 37.04 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.285e-05/0.2584, allocations: 317 kB / 427.6 MB, free: 36.72 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.434e-06/0.2584, allocations: 3.281 kB / 427.6 MB, free: 36.72 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.845e-06/0.2584, allocations: 12.94 kB / 427.6 MB, free: 36.71 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.94e-05/0.2585, allocations: 17.62 kB / 427.7 MB, free: 36.69 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2585, allocations: 3.938 kB / 427.7 MB, free: 36.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.212e-05/0.2585, allocations: 45.59 kB / 427.7 MB, free: 36.65 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.907e-06/0.2586, allocations: 2.531 kB / 427.7 MB, free: 36.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.2586, allocations: 3.875 kB / 427.7 MB, free: 36.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.819e-06/0.2586, allocations: 0 / 427.7 MB, free: 36.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.828e-05/0.2586, allocations: 4.141 kB / 427.7 MB, free: 36.65 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.369e-06/0.2586, allocations: 6.812 kB / 427.7 MB, free: 36.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.212e-05/0.2586, allocations: 3.906 kB / 427.7 MB, free: 36.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-06/0.2587, allocations: 3.984 kB / 427.7 MB, free: 36.64 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 3.709e-05/0.2587, allocations: 194.8 kB / 427.9 MB, free: 36.45 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.24e-05/0.2587, allocations: 108.6 kB / 428 MB, free: 36.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.831e-05/0.2588, allocations: 108.9 kB / 428.1 MB, free: 36.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.625e-05/0.2588, allocations: 179 kB / 428.3 MB, free: 36.05 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.877e-05/0.2588, allocations: 185.8 kB / 428.5 MB, free: 35.87 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.72e-05/0.2588, allocations: 179.7 kB / 428.7 MB, free: 35.69 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001059/0.2589, allocations: 404.9 kB / 429.1 MB, free: 35.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.239e-05/0.2589, allocations: 111.8 kB / 429.2 MB, free: 35.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.091e-05/0.259, allocations: 101 kB / 429.3 MB, free: 35.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.06e-05/0.259, allocations: 186.7 kB / 429.5 MB, free: 34.85 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.865e-05/0.259, allocations: 182.4 kB / 429.6 MB, free: 34.67 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.806e-05/0.259, allocations: 183.8 kB / 429.8 MB, free: 34.48 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.801e-05/0.2591, allocations: 184 kB / 430 MB, free: 34.3 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.654e-05/0.2591, allocations: 312.5 kB / 430.3 MB, free: 33.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.149e-05/0.2591, allocations: 178.1 kB / 430.5 MB, free: 33.78 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.325e-05/0.2592, allocations: 183 kB / 430.7 MB, free: 33.6 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.973e-05/0.2592, allocations: 108.9 kB / 430.8 MB, free: 33.49 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.407e-05/0.2592, allocations: 176.6 kB / 430.9 MB, free: 33.31 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.2593, allocations: 111.7 kB / 431 MB, free: 33.2 MB / 350.1 MB Notification: Performance of sorting global known variables: time 1.566e-05/0.2593, allocations: 79.28 kB / 431.1 MB, free: 33.12 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2593, allocations: 0 / 431.1 MB, free: 33.12 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002277/0.2595, allocations: 2.688 kB / 431.1 MB, free: 33.12 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 4.847e-05/0.2596, allocations: 171 kB / 431.3 MB, free: 32.95 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 5.042e-05/0.2596, allocations: 3.844 kB / 431.3 MB, free: 32.95 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2596, allocations: 0 / 431.3 MB, free: 32.95 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.533e-06/0.2596, allocations: 7.5 kB / 431.3 MB, free: 32.95 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002214/0.2599, allocations: 468 kB / 431.8 MB, free: 32.49 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001107/0.26, allocations: 149.5 kB / 431.9 MB, free: 32.33 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.963e-05/0.2601, allocations: 0.672 MB / 432.6 MB, free: 31.64 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.134e-05/0.2601, allocations: 0 / 432.6 MB, free: 31.64 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.252e-05/0.2601, allocations: 7.438 kB / 432.6 MB, free: 31.63 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2601, allocations: 4 kB / 432.6 MB, free: 31.63 MB / 350.1 MB Notification: Performance of Templates: time 0.001401/0.2615, allocations: 173.1 kB / 432.8 MB, free: 31.59 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