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.0007315/0.0007315, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0007661/0.000766, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.186/1.186, allocations: 223.3 MB / 240 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.1614/0.1614, allocations: 16.77 MB / 307.8 MB, free: 15.62 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002649/0.000265, allocations: 8 kB / 372.9 MB, free: 3.559 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2176, allocations: 54.56 MB / 427.5 MB, free: 37.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.0003754/0.218, allocations: 207.9 kB / 427.7 MB, free: 37.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002054/0.2182, allocations: 106 kB / 427.8 MB, free: 37.63 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.412e-05/0.2182, allocations: 3.438 kB / 427.8 MB, free: 37.63 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.975e-06/0.2182, allocations: 0 / 427.8 MB, free: 37.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001735/0.2184, allocations: 15.19 kB / 427.8 MB, free: 37.63 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.993e-06/0.2184, allocations: 0 / 427.8 MB, free: 37.63 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 2.213e-05/0.2184, allocations: 3.859 kB / 427.8 MB, free: 37.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.38e-05/0.2185, allocations: 6.125 kB / 427.8 MB, free: 37.63 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.057e-06/0.2185, allocations: 2.312 kB / 427.8 MB, free: 37.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.187e-05/0.2186, allocations: 11.75 kB / 427.8 MB, free: 37.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.406e-06/0.2186, allocations: 0.5312 kB / 427.8 MB, free: 37.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.625e-06/0.2186, allocations: 0.9688 kB / 427.8 MB, free: 37.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.418e-06/0.2186, allocations: 4.875 kB / 427.8 MB, free: 37.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.914e-06/0.2186, allocations: 25.7 kB / 427.8 MB, free: 37.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 1.629e-05/0.2186, allocations: 0.6562 kB / 427.8 MB, free: 37.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.2187, allocations: 3.688 kB / 427.8 MB, free: 37.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2187, allocations: 0.5938 kB / 427.8 MB, free: 37.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.465e-06/0.2187, allocations: 1.125 kB / 427.8 MB, free: 37.59 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.0001224/0.2188, allocations: 313.4 kB / 428.2 MB, free: 37.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.671e-05/0.2188, allocations: 10.84 kB / 428.2 MB, free: 37.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.221e-05/0.2189, allocations: 7.016 kB / 428.2 MB, free: 37.24 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.723e-05/0.2189, allocations: 159.1 kB / 428.3 MB, free: 37.05 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.492e-06/0.2189, allocations: 1.312 kB / 428.3 MB, free: 37.05 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.155e-06/0.2189, allocations: 3.281 kB / 428.3 MB, free: 37.05 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.837e-05/0.219, allocations: 47.36 kB / 428.4 MB, free: 37 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.48e-06/0.219, allocations: 0 / 428.4 MB, free: 37 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.931e-06/0.219, allocations: 4.375 kB / 428.4 MB, free: 37 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.219, allocations: 0 / 428.4 MB, free: 37 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.42e-05/0.219, allocations: 10.94 kB / 428.4 MB, free: 36.99 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001673/0.2192, allocations: 462.1 kB / 428.8 MB, free: 36.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.255e-05/0.2193, allocations: 172.8 kB / 429 MB, free: 36.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.219e-05/0.2193, allocations: 87.64 kB / 429.1 MB, free: 36.24 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.883e-06/0.2193, allocations: 75.28 kB / 429.2 MB, free: 36.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.394e-05/0.2193, allocations: 109.8 kB / 429.3 MB, free: 36.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 7.71e-07/0.2193, allocations: 0 / 429.3 MB, free: 36.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 4.756e-05/0.2194, allocations: 36.73 kB / 429.3 MB, free: 36.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.281e-05/0.2194, allocations: 134.6 kB / 429.4 MB, free: 35.87 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.087e-05/0.2194, allocations: 96.7 kB / 429.5 MB, free: 35.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.437e-06/0.2194, allocations: 25.7 kB / 429.6 MB, free: 35.74 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.69e-05/0.2195, allocations: 86.02 kB / 429.6 MB, free: 35.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.813e-06/0.2195, allocations: 0 / 429.6 MB, free: 35.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.683e-06/0.2195, allocations: 3 kB / 429.7 MB, free: 35.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 2.778e-05/0.2195, allocations: 310.8 kB / 430 MB, free: 35.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.322e-06/0.2195, allocations: 3.281 kB / 430 MB, free: 35.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.235e-06/0.2195, allocations: 20.34 kB / 430 MB, free: 35.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.429e-05/0.2196, allocations: 3.281 kB / 430 MB, free: 35.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-06/0.2196, allocations: 0 / 430 MB, free: 35.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.75e-05/0.2196, allocations: 35.77 kB / 430 MB, free: 35.29 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.836e-06/0.2196, allocations: 5.688 kB / 430 MB, free: 35.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.2197, allocations: 6.156 kB / 430 MB, free: 35.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.2197, allocations: 3.953 kB / 430 MB, free: 35.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.773e-05/0.2197, allocations: 4 kB / 430 MB, free: 35.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.2197, allocations: 4 kB / 430 MB, free: 35.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.257e-05/0.2197, allocations: 7.281 kB / 430 MB, free: 35.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.2197, allocations: 2 kB / 430 MB, free: 35.28 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.608e-05/0.2198, allocations: 185.1 kB / 430.2 MB, free: 35.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.079e-05/0.2198, allocations: 106.1 kB / 430.3 MB, free: 34.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.766e-05/0.2198, allocations: 114.3 kB / 430.4 MB, free: 34.87 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.62e-05/0.2199, allocations: 188 kB / 430.6 MB, free: 34.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.746e-05/0.2199, allocations: 180.2 kB / 430.8 MB, free: 34.5 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.541e-05/0.2199, allocations: 179.9 kB / 431 MB, free: 34.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001034/0.22, allocations: 405.1 kB / 431.4 MB, free: 33.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/0.22, allocations: 104.3 kB / 431.5 MB, free: 33.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.022e-05/0.22, allocations: 107.1 kB / 431.6 MB, free: 33.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-05/0.2201, allocations: 184.2 kB / 431.8 MB, free: 33.47 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.76e-05/0.2201, allocations: 179.5 kB / 431.9 MB, free: 33.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.576e-05/0.2201, allocations: 181.6 kB / 432.1 MB, free: 33.11 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.631e-05/0.2201, allocations: 180.2 kB / 432.3 MB, free: 32.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.563e-05/0.2202, allocations: 312 kB / 432.6 MB, free: 32.61 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.087e-05/0.2202, allocations: 178.1 kB / 432.8 MB, free: 32.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.376e-05/0.2202, allocations: 190 kB / 433 MB, free: 32.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.628e-05/0.2203, allocations: 101 kB / 433.1 MB, free: 32.12 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.281e-05/0.2203, allocations: 184.2 kB / 433.2 MB, free: 31.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.2203, allocations: 112.1 kB / 433.3 MB, free: 31.82 MB / 350.1 MB Notification: Performance of sorting global known variables: time 1.34e-05/0.2203, allocations: 82.47 kB / 433.4 MB, free: 31.74 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2204, allocations: 0 / 433.4 MB, free: 31.74 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002027/0.2206, allocations: 2.781 kB / 433.4 MB, free: 31.74 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 4.965e-05/0.2206, allocations: 166.2 kB / 433.6 MB, free: 31.58 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 3.894e-05/0.2207, allocations: 10.84 kB / 433.6 MB, free: 31.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.2207, allocations: 0 / 433.6 MB, free: 31.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.2207, allocations: 224 / 433.6 MB, free: 31.57 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002177/0.2209, allocations: 0.526 MB / 434.1 MB, free: 31.05 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001027/0.221, allocations: 156.3 kB / 434.3 MB, free: 30.88 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.645e-05/0.2211, allocations: 0.6721 MB / 434.9 MB, free: 30.19 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.218e-05/0.2211, allocations: 0 / 434.9 MB, free: 30.19 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.949e-06/0.2211, allocations: 11.44 kB / 435 MB, free: 30.18 MB / 350.1 MB Notification: Performance of SimCode: time 2e-07/0.2211, allocations: 0 / 435 MB, free: 30.18 MB / 350.1 MB Notification: Performance of Templates: time 0.001395/0.2225, allocations: 162.4 kB / 435.1 MB, free: 30.14 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