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.001307/0.001307, allocations: 108 kB / 16.64 MB, free: 6.797 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.001303/0.001302, allocations: 186 kB / 17.57 MB, free: 5.914 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.297/1.297, allocations: 205.1 MB / 223.4 MB, free: 12.44 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06123/0.06123, allocations: 14.16 MB / 284.9 MB, free: 14.11 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.001398/0.001398, allocations: 63.91 kB / 345.9 MB, free: 1.035 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2005/0.202, allocations: 50.12 MB / 396 MB, free: 47.8 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001573/0.2036, allocations: 0.546 MB / 396.5 MB, free: 47.44 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002518/0.2038, allocations: 120.2 kB / 396.7 MB, free: 47.35 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.965e-05/0.2039, allocations: 0 / 396.7 MB, free: 47.35 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.584e-05/0.2039, allocations: 0 / 396.7 MB, free: 47.35 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002222/0.2041, allocations: 19.47 kB / 396.7 MB, free: 47.34 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.296e-06/0.2041, allocations: 0 / 396.7 MB, free: 47.34 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 2.776e-05/0.2042, allocations: 1.219 kB / 396.7 MB, free: 47.34 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.405e-05/0.2042, allocations: 9.406 kB / 396.7 MB, free: 47.33 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.087e-05/0.2042, allocations: 1.281 kB / 396.7 MB, free: 47.33 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.65e-05/0.2043, allocations: 6.312 kB / 396.7 MB, free: 47.33 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.446e-06/0.2043, allocations: 0 / 396.7 MB, free: 47.33 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.166e-06/0.2043, allocations: 0 / 396.7 MB, free: 47.33 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.731e-06/0.2044, allocations: 1.375 kB / 396.7 MB, free: 47.33 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.758e-06/0.2044, allocations: 7.938 kB / 396.7 MB, free: 47.32 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 2.236e-05/0.2044, allocations: 0 / 396.7 MB, free: 47.32 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2044, allocations: 1.25 kB / 396.7 MB, free: 47.32 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2044, allocations: 0 / 396.7 MB, free: 47.32 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.399e-06/0.2044, allocations: 0 / 396.7 MB, free: 47.32 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.000177/0.2046, allocations: 311.5 kB / 397 MB, free: 46.97 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.2046, allocations: 12.97 kB / 397 MB, free: 46.96 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.879e-05/0.2047, allocations: 6.312 kB / 397 MB, free: 46.96 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.45e-05/0.2047, allocations: 160.4 kB / 397.2 MB, free: 46.77 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.2047, allocations: 4.375 kB / 397.2 MB, free: 46.76 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.001e-06/0.2048, allocations: 1.438 kB / 397.2 MB, free: 46.76 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.889e-05/0.2048, allocations: 40.11 kB / 397.2 MB, free: 46.71 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.2048, allocations: 192 / 397.2 MB, free: 46.71 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.146e-06/0.2049, allocations: 3.938 kB / 397.2 MB, free: 46.71 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.2049, allocations: 1.375 kB / 397.2 MB, free: 46.71 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.779e-05/0.2049, allocations: 13.25 kB / 397.2 MB, free: 46.7 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002049/0.2051, allocations: 469.1 kB / 397.7 MB, free: 46.19 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.104e-05/0.2052, allocations: 173.1 kB / 397.9 MB, free: 46.01 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.397e-05/0.2052, allocations: 81.48 kB / 398 MB, free: 45.93 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.416e-05/0.2052, allocations: 79.22 kB / 398 MB, free: 45.85 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/0.2052, allocations: 111.2 kB / 398.1 MB, free: 45.73 MB / 318.1 MB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.2052, allocations: 3.938 kB / 398.1 MB, free: 45.73 MB / 318.1 MB Notification: Performance of matching and sorting (n=0): time 5.482e-05/0.2053, allocations: 27.08 kB / 398.2 MB, free: 45.7 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.83e-05/0.2053, allocations: 130.7 kB / 398.3 MB, free: 45.56 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.777e-05/0.2054, allocations: 92.58 kB / 398.4 MB, free: 45.46 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.897e-06/0.2054, allocations: 25.7 kB / 398.4 MB, free: 45.43 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.187e-05/0.2054, allocations: 91.53 kB / 398.5 MB, free: 45.34 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.395e-06/0.2054, allocations: 4 kB / 398.5 MB, free: 45.34 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.273e-05/0.2054, allocations: 16.19 kB / 398.5 MB, free: 45.32 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.536e-05/0.2055, allocations: 312 kB / 398.8 MB, free: 45 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.127e-06/0.2055, allocations: 1.25 kB / 398.8 MB, free: 45 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.347e-06/0.2055, allocations: 23.97 kB / 398.9 MB, free: 44.98 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.838e-05/0.2055, allocations: 21.41 kB / 398.9 MB, free: 44.95 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.2055, allocations: 3.938 kB / 398.9 MB, free: 44.95 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.153e-05/0.2056, allocations: 42.03 kB / 398.9 MB, free: 44.91 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.2057, allocations: 5.344 kB / 398.9 MB, free: 44.91 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.2057, allocations: 1.188 kB / 398.9 MB, free: 44.91 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.2057, allocations: 0 / 398.9 MB, free: 44.91 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.468e-05/0.2057, allocations: 3.812 kB / 398.9 MB, free: 44.91 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.2057, allocations: 0 / 398.9 MB, free: 44.91 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.284e-05/0.2058, allocations: 5.125 kB / 398.9 MB, free: 44.91 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-06/0.2058, allocations: 9.422 kB / 398.9 MB, free: 44.9 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 4.219e-05/0.2058, allocations: 198.5 kB / 399.1 MB, free: 44.7 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.937e-05/0.2059, allocations: 114 kB / 399.2 MB, free: 44.58 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.239e-05/0.2059, allocations: 105.5 kB / 399.4 MB, free: 44.47 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.131e-05/0.2059, allocations: 177.7 kB / 399.5 MB, free: 44.29 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.139e-05/0.2059, allocations: 181.3 kB / 399.7 MB, free: 44.11 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-05/0.206, allocations: 180.3 kB / 399.9 MB, free: 43.92 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001119/0.2061, allocations: 411.6 kB / 400.3 MB, free: 43.46 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.388e-05/0.2061, allocations: 102.5 kB / 400.4 MB, free: 43.36 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.326e-05/0.2061, allocations: 101 kB / 400.5 MB, free: 43.25 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.38e-05/0.2062, allocations: 185.3 kB / 400.7 MB, free: 43.07 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.482e-05/0.2062, allocations: 181.5 kB / 400.8 MB, free: 42.88 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.055e-05/0.2062, allocations: 185.5 kB / 401 MB, free: 42.7 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-05/0.2062, allocations: 177.7 kB / 401.2 MB, free: 42.52 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001856/0.2064, allocations: 1.069 MB / 402.3 MB, free: 41.38 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.755e-05/0.2065, allocations: 191.2 kB / 402.4 MB, free: 41.17 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.927e-05/0.2065, allocations: 181.9 kB / 402.6 MB, free: 40.99 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.999e-05/0.2066, allocations: 106.3 kB / 402.7 MB, free: 40.88 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.541e-05/0.2066, allocations: 177.1 kB / 402.9 MB, free: 40.7 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.2066, allocations: 114.4 kB / 403 MB, free: 40.58 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.566e-05/0.2066, allocations: 76.75 kB / 403.1 MB, free: 40.51 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2066, allocations: 0 / 403.1 MB, free: 40.51 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003399/0.207, allocations: 5.438 kB / 403.1 MB, free: 40.5 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 7.67e-05/0.2071, allocations: 168.7 kB / 403.3 MB, free: 40.34 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 5.439e-05/0.2071, allocations: 7.969 kB / 403.3 MB, free: 40.34 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.2071, allocations: 4.219 kB / 403.3 MB, free: 40.33 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.2071, allocations: 7.812 kB / 403.3 MB, free: 40.33 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002389/0.2074, allocations: 455.2 kB / 403.7 MB, free: 39.88 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001497/0.2075, allocations: 187.3 kB / 403.9 MB, free: 39.67 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.187e-05/0.2076, allocations: 0.6729 MB / 404.6 MB, free: 38.97 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.351e-05/0.2076, allocations: 10.12 kB / 404.6 MB, free: 38.96 MB / 318.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2077, allocations: 4 kB / 404.6 MB, free: 38.96 MB / 318.1 MB Notification: Performance of Templates: time 0.001438/0.2091, allocations: 351.3 kB / 404.9 MB, free: 38.8 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