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.001535/0.001535, allocations: 108.3 kB / 16.53 MB, free: 6.68 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.001666/0.001666, allocations: 198 kB / 17.45 MB, free: 6.043 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.68/1.68, allocations: 205.1 MB / 223.3 MB, free: 12.47 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06187/0.06187, allocations: 14.16 MB / 284.8 MB, free: 14.16 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.00138/0.00138, allocations: 68.12 kB / 345.7 MB, free: 1.164 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1943/0.1956, allocations: 50.12 MB / 395.8 MB, free: 47.88 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001593/0.1973, allocations: 0.5555 MB / 396.4 MB, free: 47.53 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003146/0.1976, allocations: 120.8 kB / 396.5 MB, free: 47.45 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.103e-05/0.1976, allocations: 0 / 396.5 MB, free: 47.45 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.3e-05/0.1976, allocations: 0 / 396.5 MB, free: 47.45 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002141/0.1979, allocations: 28.33 kB / 396.5 MB, free: 47.43 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.475e-06/0.1979, allocations: 0 / 396.5 MB, free: 47.43 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 2.417e-05/0.1979, allocations: 1.406 kB / 396.5 MB, free: 47.43 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.128e-05/0.198, allocations: 0.9688 kB / 396.5 MB, free: 47.43 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.25e-05/0.198, allocations: 1.406 kB / 396.5 MB, free: 47.43 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.1981, allocations: 6.5 kB / 396.5 MB, free: 47.43 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.887e-06/0.1981, allocations: 0 / 396.5 MB, free: 47.43 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.025e-06/0.1981, allocations: 7.938 kB / 396.5 MB, free: 47.43 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.82e-06/0.1981, allocations: 0 / 396.5 MB, free: 47.43 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.632e-05/0.1981, allocations: 9.297 kB / 396.5 MB, free: 47.42 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 2.472e-05/0.1982, allocations: 0 / 396.5 MB, free: 47.42 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1982, allocations: 4 kB / 396.5 MB, free: 47.41 MB / 318.1 MB Notification: Performance of FrontEnd: time 8.41e-07/0.1982, allocations: 1.375 kB / 396.5 MB, free: 47.41 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.156e-06/0.1982, allocations: 0 / 396.5 MB, free: 47.41 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.0001877/0.1984, allocations: 314.3 kB / 396.8 MB, free: 47.06 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.1984, allocations: 9.594 kB / 396.9 MB, free: 47.06 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.167e-05/0.1984, allocations: 2.281 kB / 396.9 MB, free: 47.06 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.94e-05/0.1985, allocations: 164.4 kB / 397 MB, free: 46.86 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.351e-06/0.1985, allocations: 384 / 397 MB, free: 46.86 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.618e-06/0.1985, allocations: 5.656 kB / 397 MB, free: 46.86 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.935e-05/0.1986, allocations: 47.09 kB / 397.1 MB, free: 46.8 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.1986, allocations: 0.75 kB / 397.1 MB, free: 46.8 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.126e-06/0.1986, allocations: 4.5 kB / 397.1 MB, free: 46.8 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.1986, allocations: 1.281 kB / 397.1 MB, free: 46.8 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.717e-05/0.1987, allocations: 1.375 kB / 397.1 MB, free: 46.8 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002074/0.1989, allocations: 467.8 kB / 397.5 MB, free: 46.29 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.186e-05/0.1989, allocations: 174.4 kB / 397.7 MB, free: 46.11 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.452e-05/0.199, allocations: 81.52 kB / 397.8 MB, free: 46.03 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.304e-05/0.199, allocations: 79.28 kB / 397.9 MB, free: 45.95 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.742e-05/0.199, allocations: 107.2 kB / 398 MB, free: 45.84 MB / 318.1 MB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.199, allocations: 0 / 398 MB, free: 45.84 MB / 318.1 MB Notification: Performance of matching and sorting (n=0): time 5.643e-05/0.1991, allocations: 31.02 kB / 398 MB, free: 45.8 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.451e-05/0.1991, allocations: 126.7 kB / 398.1 MB, free: 45.66 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.374e-05/0.1992, allocations: 100.2 kB / 398.2 MB, free: 45.56 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.679e-06/0.1992, allocations: 26.95 kB / 398.2 MB, free: 45.53 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.312e-05/0.1992, allocations: 90.14 kB / 398.3 MB, free: 45.44 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.184e-06/0.1992, allocations: 1.188 kB / 398.3 MB, free: 45.44 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.273e-05/0.1992, allocations: 12.09 kB / 398.3 MB, free: 45.42 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.796e-05/0.1993, allocations: 310.8 kB / 398.6 MB, free: 45.11 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.963e-06/0.1993, allocations: 1.312 kB / 398.6 MB, free: 45.11 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.818e-06/0.1993, allocations: 17.25 kB / 398.7 MB, free: 45.09 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.492e-05/0.1993, allocations: 20.41 kB / 398.7 MB, free: 45.07 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1993, allocations: 7.875 kB / 398.7 MB, free: 45.06 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.69e-05/0.1994, allocations: 42.53 kB / 398.7 MB, free: 45.02 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.1994, allocations: 9.219 kB / 398.7 MB, free: 45.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.1995, allocations: 0 / 398.7 MB, free: 45.02 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.1995, allocations: 1.594 kB / 398.7 MB, free: 45.02 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.477e-05/0.1995, allocations: 3.406 kB / 398.7 MB, free: 45.02 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.1995, allocations: 0 / 398.7 MB, free: 45.02 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.451e-05/0.1995, allocations: 17.41 kB / 398.8 MB, free: 45 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.1996, allocations: 1.156 kB / 398.8 MB, free: 45 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.045e-05/0.1996, allocations: 198.2 kB / 399 MB, free: 44.8 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.436e-05/0.1996, allocations: 106.1 kB / 399.1 MB, free: 44.69 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.052e-05/0.1997, allocations: 109.5 kB / 399.2 MB, free: 44.57 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.898e-05/0.1997, allocations: 181.8 kB / 399.3 MB, free: 44.39 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.1e-05/0.1997, allocations: 184.2 kB / 399.5 MB, free: 44.2 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.806e-05/0.1997, allocations: 181.7 kB / 399.7 MB, free: 44.02 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001068/0.1999, allocations: 398.4 kB / 400.1 MB, free: 43.57 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.208e-05/0.1999, allocations: 106.3 kB / 400.2 MB, free: 43.46 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.441e-05/0.1999, allocations: 110.3 kB / 400.3 MB, free: 43.35 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.097e-05/0.1999, allocations: 181 kB / 400.5 MB, free: 43.17 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.15e-05/0.1999, allocations: 181.6 kB / 400.7 MB, free: 42.98 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-05/0.2, allocations: 176.3 kB / 400.8 MB, free: 42.8 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.845e-05/0.2, allocations: 181.6 kB / 401 MB, free: 42.62 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001467/0.2001, allocations: 0.8416 MB / 401.9 MB, free: 41.72 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.739e-05/0.2002, allocations: 194 kB / 402 MB, free: 41.51 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.684e-05/0.2002, allocations: 181.7 kB / 402.2 MB, free: 41.32 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.06e-05/0.2003, allocations: 102.5 kB / 402.3 MB, free: 41.22 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.415e-05/0.2003, allocations: 184.5 kB / 402.5 MB, free: 41.03 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.2003, allocations: 102.4 kB / 402.6 MB, free: 40.93 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.565e-05/0.2003, allocations: 84.7 kB / 402.7 MB, free: 40.84 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2003, allocations: 1.469 kB / 402.7 MB, free: 40.84 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003381/0.2007, allocations: 0 / 402.7 MB, free: 40.84 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.804e-05/0.2007, allocations: 170.8 kB / 402.8 MB, free: 40.68 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 4.366e-05/0.2008, allocations: 10.66 kB / 402.9 MB, free: 40.67 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2008, allocations: 0 / 402.9 MB, free: 40.67 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.734e-06/0.2008, allocations: 7.406 kB / 402.9 MB, free: 40.67 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002407/0.201, allocations: 0.5146 MB / 403.4 MB, free: 40.15 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001316/0.2012, allocations: 184.8 kB / 403.6 MB, free: 39.94 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.071e-05/0.2013, allocations: 0.6764 MB / 404.2 MB, free: 39.24 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.041e-05/0.2013, allocations: 7.438 kB / 404.2 MB, free: 39.23 MB / 318.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2013, allocations: 4 kB / 404.2 MB, free: 39.23 MB / 318.1 MB Notification: Performance of Templates: time 0.001238/0.2025, allocations: 339.5 kB / 404.6 MB, free: 39.07 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