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.0009138/0.0009138, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007243/0.007243, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.34/1.34, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1939/0.1939, allocations: 16.76 MB / 308.2 MB, free: 15.58 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000273/0.000273, allocations: 8 kB / 373.5 MB, free: 3.191 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2308/0.2311, allocations: 54.57 MB / 428.1 MB, free: 38.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.0004274/0.2316, allocations: 209.3 kB / 428.3 MB, free: 38.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002591/0.2318, allocations: 116.8 kB / 428.4 MB, free: 38.24 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.498e-06/0.2319, allocations: 0 / 428.4 MB, free: 38.24 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.019e-05/0.2319, allocations: 2.531 kB / 428.4 MB, free: 38.24 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001848/0.2321, allocations: 22.56 kB / 428.4 MB, free: 38.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.495e-06/0.2321, allocations: 0 / 428.4 MB, free: 38.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 2.128e-05/0.2321, allocations: 2.781 kB / 428.4 MB, free: 38.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.419e-05/0.2321, allocations: 0.6562 kB / 428.4 MB, free: 38.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.033e-05/0.2322, allocations: 2.844 kB / 428.4 MB, free: 38.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.856e-05/0.2323, allocations: 12.66 kB / 428.4 MB, free: 38.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.677e-06/0.2323, allocations: 2.516 kB / 428.4 MB, free: 38.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.555e-06/0.2323, allocations: 0 / 428.4 MB, free: 38.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.159e-06/0.2323, allocations: 0 / 428.4 MB, free: 38.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.385e-05/0.2323, allocations: 31.73 kB / 428.5 MB, free: 38.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 2.102e-05/0.2323, allocations: 0 / 428.5 MB, free: 38.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.2323, allocations: 7.344 kB / 428.5 MB, free: 38.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2323, allocations: 0 / 428.5 MB, free: 38.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.795e-06/0.2323, allocations: 1.125 kB / 428.5 MB, free: 38.2 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.0001303/0.2325, allocations: 310.8 kB / 428.8 MB, free: 37.85 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.748e-05/0.2325, allocations: 7.344 kB / 428.8 MB, free: 37.85 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.942e-05/0.2325, allocations: 0.9375 kB / 428.8 MB, free: 37.85 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.709e-05/0.2326, allocations: 166 kB / 429 MB, free: 37.65 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.928e-06/0.2326, allocations: 4 kB / 429 MB, free: 37.65 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.334e-06/0.2326, allocations: 384 / 429 MB, free: 37.65 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.051e-05/0.2327, allocations: 46.94 kB / 429 MB, free: 37.6 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.451e-06/0.2327, allocations: 4.5 kB / 429 MB, free: 37.6 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.632e-06/0.2327, allocations: 3.938 kB / 429 MB, free: 37.6 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.2327, allocations: 0 / 429 MB, free: 37.6 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.421e-05/0.2327, allocations: 3.906 kB / 429 MB, free: 37.6 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001778/0.2329, allocations: 466.2 kB / 429.5 MB, free: 37.1 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.519e-05/0.233, allocations: 171.3 kB / 429.6 MB, free: 36.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.37e-05/0.233, allocations: 80.14 kB / 429.7 MB, free: 36.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.011e-05/0.233, allocations: 80 kB / 429.8 MB, free: 36.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.659e-05/0.233, allocations: 108.5 kB / 429.9 MB, free: 36.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.233, allocations: 3.938 kB / 429.9 MB, free: 36.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 5.061e-05/0.2331, allocations: 37.16 kB / 429.9 MB, free: 36.62 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.414e-05/0.2331, allocations: 130.2 kB / 430.1 MB, free: 36.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4e-05/0.2332, allocations: 96.89 kB / 430.2 MB, free: 36.38 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.409e-06/0.2332, allocations: 25.7 kB / 430.2 MB, free: 36.35 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.012e-05/0.2332, allocations: 86.16 kB / 430.3 MB, free: 36.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.535e-06/0.2332, allocations: 2.969 kB / 430.3 MB, free: 36.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.7e-05/0.2332, allocations: 13.34 kB / 430.3 MB, free: 36.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.175e-05/0.2333, allocations: 314.2 kB / 430.6 MB, free: 35.94 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.001e-06/0.2333, allocations: 0 / 430.6 MB, free: 35.94 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.486e-06/0.2333, allocations: 16.81 kB / 430.6 MB, free: 35.92 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.073e-05/0.2333, allocations: 20.31 kB / 430.6 MB, free: 35.9 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2333, allocations: 3.938 kB / 430.6 MB, free: 35.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.488e-05/0.2334, allocations: 37.53 kB / 430.7 MB, free: 35.86 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.2334, allocations: 5.344 kB / 430.7 MB, free: 35.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.2334, allocations: 6.625 kB / 430.7 MB, free: 35.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/0.2334, allocations: 5.5 kB / 430.7 MB, free: 35.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.01e-05/0.2335, allocations: 3.031 kB / 430.7 MB, free: 35.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.557e-06/0.2335, allocations: 0 / 430.7 MB, free: 35.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.322e-05/0.2335, allocations: 6.906 kB / 430.7 MB, free: 35.85 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.316e-06/0.2335, allocations: 0 / 430.7 MB, free: 35.85 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.854e-05/0.2336, allocations: 186.9 kB / 430.9 MB, free: 35.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.265e-05/0.2336, allocations: 107.1 kB / 431 MB, free: 35.55 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.934e-05/0.2336, allocations: 119.8 kB / 431.1 MB, free: 35.44 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-05/0.2336, allocations: 183 kB / 431.3 MB, free: 35.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.795e-05/0.2337, allocations: 176.3 kB / 431.5 MB, free: 35.07 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.788e-05/0.2337, allocations: 185.5 kB / 431.6 MB, free: 34.89 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001037/0.2338, allocations: 403.6 kB / 432 MB, free: 34.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.141e-05/0.2338, allocations: 105.9 kB / 432.1 MB, free: 34.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.134e-05/0.2338, allocations: 110.8 kB / 432.2 MB, free: 34.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.779e-05/0.2339, allocations: 180.2 kB / 432.4 MB, free: 34.04 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.896e-05/0.2339, allocations: 179.3 kB / 432.6 MB, free: 33.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.721e-05/0.2339, allocations: 176.3 kB / 432.8 MB, free: 33.68 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.776e-05/0.2339, allocations: 183.5 kB / 432.9 MB, free: 33.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.911e-05/0.234, allocations: 312.9 kB / 433.3 MB, free: 33.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.479e-05/0.234, allocations: 178.1 kB / 433.4 MB, free: 32.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.546e-05/0.234, allocations: 188 kB / 433.6 MB, free: 32.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.617e-05/0.2341, allocations: 107.9 kB / 433.7 MB, free: 32.69 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.125e-05/0.2341, allocations: 180.3 kB / 433.9 MB, free: 32.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.2341, allocations: 109.2 kB / 434 MB, free: 32.39 MB / 350.1 MB Notification: Performance of sorting global known variables: time 1.585e-05/0.2342, allocations: 80.89 kB / 434.1 MB, free: 32.32 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2342, allocations: 0 / 434.1 MB, free: 32.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002118/0.2344, allocations: 3.25 kB / 434.1 MB, free: 32.32 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.271e-05/0.2344, allocations: 170 kB / 434.2 MB, free: 32.15 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 4.236e-05/0.2345, allocations: 6.531 kB / 434.3 MB, free: 32.15 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.2345, allocations: 224 / 434.3 MB, free: 32.15 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.573e-06/0.2345, allocations: 4 kB / 434.3 MB, free: 32.14 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002328/0.2347, allocations: 0.5249 MB / 434.8 MB, free: 31.62 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001193/0.2349, allocations: 152.4 kB / 434.9 MB, free: 31.45 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.976e-05/0.2349, allocations: 0.672 MB / 435.6 MB, free: 30.76 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.246e-05/0.235, allocations: 4 kB / 435.6 MB, free: 30.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.528e-06/0.235, allocations: 7.438 kB / 435.6 MB, free: 30.75 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.235, allocations: 0 / 435.6 MB, free: 30.75 MB / 350.1 MB Notification: Performance of Templates: time 0.001478/0.2365, allocations: 170.5 kB / 435.8 MB, free: 30.71 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