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.00114/0.001145, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001853/0.001853, allocations: 193.5 kB / 16.14 MB, free: 6.711 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.375/1.375, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1852/0.1852, allocations: 16.8 MB / 306.7 MB, free: 14.99 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 63.91 kB / 371.1 MB, free: 4.102 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3362/0.3376, allocations: 53.55 MB / 424.6 MB, free: 38.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001775/0.3394, allocations: 0.5356 MB / 425.2 MB, free: 38.53 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003905/0.3398, allocations: 121.3 kB / 425.3 MB, free: 38.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.31e-05/0.3398, allocations: 0 / 425.3 MB, free: 38.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.752e-05/0.3399, allocations: 1.031 kB / 425.3 MB, free: 38.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002431/0.3401, allocations: 22.36 kB / 425.3 MB, free: 38.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.985e-06/0.3401, allocations: 0.875 kB / 425.3 MB, free: 38.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 2.725e-05/0.3402, allocations: 2.875 kB / 425.3 MB, free: 38.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.543e-05/0.3402, allocations: 3.375 kB / 425.3 MB, free: 38.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.428e-05/0.3402, allocations: 5.312 kB / 425.3 MB, free: 38.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001284/0.3404, allocations: 13.11 kB / 425.3 MB, free: 38.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.23e-06/0.3404, allocations: 0 / 425.3 MB, free: 38.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.607e-06/0.3404, allocations: 0 / 425.3 MB, free: 38.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.635e-06/0.3404, allocations: 0 / 425.3 MB, free: 38.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.359e-05/0.3404, allocations: 3.828 kB / 425.3 MB, free: 38.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 3.232e-05/0.3405, allocations: 3.531 kB / 425.3 MB, free: 38.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.3405, allocations: 5.469 kB / 425.3 MB, free: 38.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.81e-07/0.3405, allocations: 0 / 425.3 MB, free: 38.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.3405, allocations: 0 / 425.3 MB, free: 38.48 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.0002343/0.3407, allocations: 309.2 kB / 425.6 MB, free: 38.13 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.3408, allocations: 14.66 kB / 425.7 MB, free: 38.13 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.286e-05/0.3408, allocations: 0.9375 kB / 425.7 MB, free: 38.13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.169e-05/0.3409, allocations: 163.8 kB / 425.8 MB, free: 37.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.3409, allocations: 1.406 kB / 425.8 MB, free: 37.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.387e-06/0.3409, allocations: 3.125 kB / 425.8 MB, free: 37.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.341, allocations: 42.11 kB / 425.9 MB, free: 37.89 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.341, allocations: 192 / 425.9 MB, free: 37.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.3411, allocations: 3.938 kB / 425.9 MB, free: 37.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.3411, allocations: 5.656 kB / 425.9 MB, free: 37.88 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.062e-05/0.3411, allocations: 6.469 kB / 425.9 MB, free: 37.88 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002887/0.3414, allocations: 460.1 kB / 426.3 MB, free: 37.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.193e-05/0.3415, allocations: 178.7 kB / 426.5 MB, free: 37.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.09e-05/0.3415, allocations: 84.14 kB / 426.6 MB, free: 37.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/0.3415, allocations: 76.27 kB / 426.7 MB, free: 37.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.3415, allocations: 109.8 kB / 426.8 MB, free: 36.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.3415, allocations: 0 / 426.8 MB, free: 36.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 6.98e-05/0.3416, allocations: 35.77 kB / 426.8 MB, free: 36.9 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.3417, allocations: 126.7 kB / 426.9 MB, free: 36.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.376e-05/0.3417, allocations: 97.34 kB / 427 MB, free: 36.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.144e-06/0.3417, allocations: 25.7 kB / 427 MB, free: 36.63 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.603e-05/0.3418, allocations: 91.33 kB / 427.1 MB, free: 36.55 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.488e-06/0.3418, allocations: 9.703 kB / 427.1 MB, free: 36.54 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.416e-05/0.3418, allocations: 12.69 kB / 427.2 MB, free: 36.53 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.383e-05/0.3419, allocations: 310.8 kB / 427.5 MB, free: 36.21 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.006e-05/0.3419, allocations: 0 / 427.5 MB, free: 36.21 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.166e-05/0.3419, allocations: 18.53 kB / 427.5 MB, free: 36.2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.928e-05/0.3419, allocations: 19.84 kB / 427.5 MB, free: 36.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.342, allocations: 3.938 kB / 427.5 MB, free: 36.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.634e-05/0.3421, allocations: 43.25 kB / 427.5 MB, free: 36.14 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.3421, allocations: 5.094 kB / 427.5 MB, free: 36.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.3421, allocations: 0.6562 kB / 427.5 MB, free: 36.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.3421, allocations: 3.25 kB / 427.5 MB, free: 36.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.723e-05/0.3422, allocations: 2.266 kB / 427.5 MB, free: 36.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.3422, allocations: 4.703 kB / 427.6 MB, free: 36.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.453e-05/0.3422, allocations: 6.906 kB / 427.6 MB, free: 36.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-06/0.3422, allocations: 0 / 427.6 MB, free: 36.14 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.517e-05/0.3423, allocations: 189.8 kB / 427.7 MB, free: 35.95 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.182e-05/0.3423, allocations: 108.7 kB / 427.9 MB, free: 35.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.995e-05/0.3424, allocations: 108 kB / 428 MB, free: 35.73 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.628e-05/0.3424, allocations: 191.9 kB / 428.1 MB, free: 35.54 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.614e-05/0.3424, allocations: 180.1 kB / 428.3 MB, free: 35.36 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.7e-05/0.3425, allocations: 178.8 kB / 428.5 MB, free: 35.18 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001536/0.3426, allocations: 410.6 kB / 428.9 MB, free: 34.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.789e-05/0.3426, allocations: 103.3 kB / 429 MB, free: 34.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.666e-05/0.3427, allocations: 103.6 kB / 429.1 MB, free: 34.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.197e-05/0.3427, allocations: 182.4 kB / 429.3 MB, free: 34.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.625e-05/0.3427, allocations: 181 kB / 429.5 MB, free: 34.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-05/0.3428, allocations: 179.8 kB / 429.6 MB, free: 33.98 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.067e-05/0.3428, allocations: 186.5 kB / 429.8 MB, free: 33.8 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.924e-05/0.3429, allocations: 310 kB / 430.1 MB, free: 33.49 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.37e-05/0.3429, allocations: 180.8 kB / 430.3 MB, free: 33.29 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.867e-05/0.343, allocations: 179.4 kB / 430.5 MB, free: 33.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.113e-05/0.3431, allocations: 107 kB / 430.6 MB, free: 33 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.37e-05/0.3431, allocations: 182.9 kB / 430.7 MB, free: 32.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.108e-05/0.3431, allocations: 108.7 kB / 430.9 MB, free: 32.71 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.009e-05/0.3432, allocations: 79.98 kB / 430.9 MB, free: 32.63 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3432, allocations: 6.812 kB / 430.9 MB, free: 32.63 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002432/0.3434, allocations: 0 / 430.9 MB, free: 32.63 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 7.895e-05/0.3435, allocations: 174.7 kB / 431.1 MB, free: 32.46 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 7.824e-05/0.3436, allocations: 3.094 kB / 431.1 MB, free: 32.46 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3436, allocations: 0 / 431.1 MB, free: 32.46 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.443e-06/0.3436, allocations: 224 / 431.1 MB, free: 32.46 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003098/0.3439, allocations: 0.5325 MB / 431.6 MB, free: 31.93 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000164/0.3441, allocations: 156.7 kB / 431.8 MB, free: 31.76 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001174/0.3442, allocations: 0.6727 MB / 432.5 MB, free: 31.06 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.921e-05/0.3442, allocations: 2.25 kB / 432.5 MB, free: 31.06 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.821e-05/0.3443, allocations: 11.44 kB / 432.5 MB, free: 31.05 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3443, allocations: 0 / 432.5 MB, free: 31.05 MB / 350.1 MB Notification: Performance of Templates: time 0.0019/0.3462, allocations: 178.8 kB / 432.7 MB, free: 31.01 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