Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_symb_jac_PowerGrids.Functions.Test.TestTimeConstants") translateModel(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="T1|T2|time",fileNamePrefix="PowerGrids_symb_jac_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.0007558/0.0007558, allocations: 88.67 kB / 16.67 MB, free: 6.602 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.0008077/0.0008077, allocations: 184.1 kB / 17.59 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.254/1.254, allocations: 205.4 MB / 223.8 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.063/0.063, allocations: 14.15 MB / 286.2 MB, free: 13.9 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004849/0.0004849, allocations: 12 kB / 348.1 MB, free: 15.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1922/0.1927, allocations: 51.12 MB / 399.2 MB, free: 47.8 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.0004345/0.1932, allocations: 223.5 kB / 399.4 MB, free: 47.64 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002623/0.1935, allocations: 120.9 kB / 399.5 MB, free: 47.55 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.117e-06/0.1935, allocations: 0 / 399.5 MB, free: 47.55 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.185e-05/0.1935, allocations: 1.062 kB / 399.5 MB, free: 47.55 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001758/0.1937, allocations: 18.31 kB / 399.5 MB, free: 47.54 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.144e-06/0.1937, allocations: 4 kB / 399.5 MB, free: 47.53 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 2.078e-05/0.1937, allocations: 1.312 kB / 399.5 MB, free: 47.53 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.392e-05/0.1938, allocations: 1 kB / 399.5 MB, free: 47.53 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.039e-05/0.1938, allocations: 0.9688 kB / 399.5 MB, free: 47.53 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.508e-05/0.1939, allocations: 10.42 kB / 399.5 MB, free: 47.53 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.898e-06/0.1939, allocations: 0 / 399.5 MB, free: 47.53 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.046e-06/0.1939, allocations: 0 / 399.5 MB, free: 47.53 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.29e-06/0.1939, allocations: 4.969 kB / 399.5 MB, free: 47.52 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.346e-05/0.1939, allocations: 29.64 kB / 399.6 MB, free: 47.49 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 1.809e-05/0.194, allocations: 8.984 kB / 399.6 MB, free: 47.48 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.484e-06/0.194, allocations: 0 / 399.6 MB, free: 47.48 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.194, allocations: 0 / 399.6 MB, free: 47.48 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.916e-06/0.194, allocations: 1.125 kB / 399.6 MB, free: 47.48 MB / 318.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.0001317/0.1941, allocations: 313.6 kB / 399.9 MB, free: 47.12 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.031e-05/0.1942, allocations: 8.688 kB / 399.9 MB, free: 47.12 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.131e-05/0.1942, allocations: 2.031 kB / 399.9 MB, free: 47.12 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.985e-05/0.1942, allocations: 160.4 kB / 400.1 MB, free: 46.93 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.1943, allocations: 1.406 kB / 400.1 MB, free: 46.93 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.861e-06/0.1943, allocations: 5.531 kB / 400.1 MB, free: 46.93 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.666e-05/0.1943, allocations: 47.19 kB / 400.1 MB, free: 46.87 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.26e-06/0.1943, allocations: 192 / 400.1 MB, free: 46.87 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.282e-06/0.1944, allocations: 5.062 kB / 400.1 MB, free: 46.87 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.1944, allocations: 0 / 400.1 MB, free: 46.87 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.531e-05/0.1944, allocations: 6.562 kB / 400.1 MB, free: 46.86 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001727/0.1946, allocations: 463.2 kB / 400.6 MB, free: 46.36 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.42e-05/0.1946, allocations: 174.2 kB / 400.7 MB, free: 46.18 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.211e-05/0.1946, allocations: 81.2 kB / 400.8 MB, free: 46.1 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.072e-05/0.1946, allocations: 79.28 kB / 400.9 MB, free: 46.02 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.453e-05/0.1947, allocations: 111 kB / 401 MB, free: 45.9 MB / 318.1 MB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.1947, allocations: 0 / 401 MB, free: 45.9 MB / 318.1 MB Notification: Performance of matching and sorting (n=0): time 4.763e-05/0.1947, allocations: 27.17 kB / 401 MB, free: 45.87 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.929e-05/0.1948, allocations: 126.7 kB / 401.2 MB, free: 45.73 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.328e-05/0.1948, allocations: 96.53 kB / 401.3 MB, free: 45.63 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.998e-06/0.1948, allocations: 26.58 kB / 401.3 MB, free: 45.6 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.938e-05/0.1948, allocations: 91.58 kB / 401.4 MB, free: 45.51 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.844e-06/0.1948, allocations: 3.938 kB / 401.4 MB, free: 45.51 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.655e-05/0.1949, allocations: 13.84 kB / 401.4 MB, free: 45.49 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 2.988e-05/0.1949, allocations: 316.1 kB / 401.7 MB, free: 45.17 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.372e-06/0.1949, allocations: 1.25 kB / 401.7 MB, free: 45.17 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.716e-06/0.1949, allocations: 12.19 kB / 401.7 MB, free: 45.16 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.193e-05/0.195, allocations: 21.64 kB / 401.7 MB, free: 45.13 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.195, allocations: 7.938 kB / 401.7 MB, free: 45.12 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.264e-05/0.195, allocations: 42.58 kB / 401.8 MB, free: 45.09 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.668e-06/0.1951, allocations: 4.938 kB / 401.8 MB, free: 45.09 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.905e-06/0.1951, allocations: 0 / 401.8 MB, free: 45.09 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.005e-06/0.1951, allocations: 1.031 kB / 401.8 MB, free: 45.09 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.919e-05/0.1951, allocations: 3.094 kB / 401.8 MB, free: 45.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.1951, allocations: 1.062 kB / 401.8 MB, free: 45.09 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.382e-05/0.1951, allocations: 8.922 kB / 401.8 MB, free: 45.08 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.947e-06/0.1952, allocations: 1 kB / 401.8 MB, free: 45.08 MB / 318.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.777e-05/0.1952, allocations: 202.1 kB / 402 MB, free: 44.87 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.172e-05/0.1952, allocations: 106 kB / 402.1 MB, free: 44.76 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.701e-05/0.1953, allocations: 109.1 kB / 402.2 MB, free: 44.65 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-05/0.1953, allocations: 181.2 kB / 402.4 MB, free: 44.46 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.712e-05/0.1953, allocations: 181.3 kB / 402.6 MB, free: 44.28 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.712e-05/0.1953, allocations: 181.3 kB / 402.7 MB, free: 44.1 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001016/0.1954, allocations: 411.2 kB / 403.1 MB, free: 43.64 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/0.1955, allocations: 102 kB / 403.2 MB, free: 43.54 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.119e-05/0.1955, allocations: 109.9 kB / 403.3 MB, free: 43.42 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.58e-05/0.1955, allocations: 177.3 kB / 403.5 MB, free: 43.24 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.915e-05/0.1955, allocations: 181.4 kB / 403.7 MB, free: 43.06 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.712e-05/0.1955, allocations: 185.2 kB / 403.9 MB, free: 42.87 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.576e-05/0.1956, allocations: 177.3 kB / 404.1 MB, free: 42.69 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001231/0.1957, allocations: 0.8397 MB / 404.9 MB, free: 41.79 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.209e-05/0.1957, allocations: 184.1 kB / 405.1 MB, free: 41.59 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.304e-05/0.1957, allocations: 185.3 kB / 405.3 MB, free: 41.4 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.725e-05/0.1958, allocations: 113.9 kB / 405.4 MB, free: 41.29 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.886e-05/0.1958, allocations: 181.6 kB / 405.5 MB, free: 41.1 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.1958, allocations: 109.9 kB / 405.7 MB, free: 40.99 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.449e-05/0.1959, allocations: 77.25 kB / 405.7 MB, free: 40.91 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1959, allocations: 96 / 405.7 MB, free: 40.91 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003255/0.1962, allocations: 5.031 kB / 405.7 MB, free: 40.91 MB / 318.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.002e-05/0.1963, allocations: 164.9 kB / 405.9 MB, free: 40.75 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 3.834e-05/0.1963, allocations: 3.844 kB / 405.9 MB, free: 40.75 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.1963, allocations: 0 / 405.9 MB, free: 40.75 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.794e-06/0.1963, allocations: 5 kB / 405.9 MB, free: 40.75 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002317/0.1965, allocations: 0.5286 MB / 406.4 MB, free: 40.21 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001104/0.1967, allocations: 187.7 kB / 406.6 MB, free: 40 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.844e-05/0.1967, allocations: 0.6703 MB / 407.3 MB, free: 39.3 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.157e-06/0.1968, allocations: 8.562 kB / 407.3 MB, free: 39.3 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1968, allocations: 0 / 407.3 MB, free: 39.3 MB / 318.1 MB Notification: Performance of Templates: time 0.001114/0.1979, allocations: 337.1 kB / 407.6 MB, free: 39.14 MB / 318.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.makefile (rm -f PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.sim & ./PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.pipe 2>&1) diffSimulationResults("PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Functions.Test.TestTimeConstants_res.mat","../files/PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches