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.001249/0.001249, allocations: 104.7 kB / 16.28 MB, free: 5.941 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.001302/0.001302, allocations: 187.3 kB / 17.2 MB, free: 5.578 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.67/1.67, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05927/0.05927, allocations: 14.17 MB / 284.6 MB, free: 13.94 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.001673/0.001673, allocations: 67.91 kB / 345.7 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3057/0.3074, allocations: 50.12 MB / 395.9 MB, free: 47.88 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.00152/0.309, allocations: 486.8 kB / 396.3 MB, free: 47.53 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002844/0.3093, allocations: 123.9 kB / 396.5 MB, free: 47.43 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.218e-05/0.3093, allocations: 0 / 396.5 MB, free: 47.43 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.473e-05/0.3093, allocations: 0 / 396.5 MB, free: 47.43 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002557/0.3096, allocations: 19.73 kB / 396.5 MB, free: 47.42 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.797e-06/0.3096, allocations: 0 / 396.5 MB, free: 47.42 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 2.861e-05/0.3096, allocations: 5.219 kB / 396.5 MB, free: 47.42 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.103e-05/0.3097, allocations: 5.5 kB / 396.5 MB, free: 47.41 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.197e-05/0.3097, allocations: 0 / 396.5 MB, free: 47.41 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.3098, allocations: 15.31 kB / 396.5 MB, free: 47.41 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.128e-06/0.3098, allocations: 0 / 396.5 MB, free: 47.41 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.675e-06/0.3098, allocations: 0 / 396.5 MB, free: 47.41 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.292e-06/0.3098, allocations: 1.812 kB / 396.5 MB, free: 47.41 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.77e-05/0.3098, allocations: 3.938 kB / 396.5 MB, free: 47.4 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 3.009e-05/0.3099, allocations: 8 kB / 396.5 MB, free: 47.39 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3099, allocations: 3.938 kB / 396.5 MB, free: 47.39 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3099, allocations: 1.688 kB / 396.5 MB, free: 47.39 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.3099, allocations: 0 / 396.5 MB, free: 47.39 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.0001821/0.3101, allocations: 307.4 kB / 396.8 MB, free: 47.04 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.3101, allocations: 9.062 kB / 396.8 MB, free: 47.04 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.285e-05/0.3102, allocations: 0.9375 kB / 396.8 MB, free: 47.04 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.097e-05/0.3102, allocations: 172.4 kB / 397 MB, free: 46.84 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.357e-06/0.3102, allocations: 2.125 kB / 397 MB, free: 46.84 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.195e-06/0.3102, allocations: 4.375 kB / 397 MB, free: 46.83 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.692e-05/0.3103, allocations: 43.55 kB / 397 MB, free: 46.78 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.3103, allocations: 192 / 397 MB, free: 46.78 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.223e-06/0.3103, allocations: 5.594 kB / 397 MB, free: 46.78 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.3104, allocations: 0 / 397 MB, free: 46.78 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.63e-05/0.3104, allocations: 1.781 kB / 397.1 MB, free: 46.78 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002047/0.3106, allocations: 476.9 kB / 397.5 MB, free: 46.26 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.833e-05/0.3107, allocations: 169.1 kB / 397.7 MB, free: 46.09 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.707e-05/0.3107, allocations: 81.95 kB / 397.8 MB, free: 46 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.275e-05/0.3107, allocations: 75.28 kB / 397.8 MB, free: 45.93 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.847e-05/0.3107, allocations: 109.8 kB / 397.9 MB, free: 45.81 MB / 318.1 MB Notification: Performance of pre-optimization done (n=0): time 8.11e-07/0.3107, allocations: 1.781 kB / 397.9 MB, free: 45.81 MB / 318.1 MB Notification: Performance of matching and sorting (n=0): time 5.619e-05/0.3108, allocations: 29.67 kB / 398 MB, free: 45.78 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/0.3108, allocations: 134.7 kB / 398.1 MB, free: 45.63 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.186e-05/0.3109, allocations: 97.42 kB / 398.2 MB, free: 45.53 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.768e-06/0.3109, allocations: 25.7 kB / 398.2 MB, free: 45.5 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.522e-05/0.3109, allocations: 87.8 kB / 398.3 MB, free: 45.41 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.104e-06/0.3109, allocations: 128 / 398.3 MB, free: 45.41 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.41e-05/0.311, allocations: 21.31 kB / 398.3 MB, free: 45.39 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.721e-05/0.311, allocations: 314.8 kB / 398.6 MB, free: 45.07 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.187e-06/0.311, allocations: 5.766 kB / 398.6 MB, free: 45.07 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.786e-06/0.311, allocations: 11.56 kB / 398.7 MB, free: 45.05 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.305e-05/0.3111, allocations: 17.38 kB / 398.7 MB, free: 45.04 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3111, allocations: 8 kB / 398.7 MB, free: 45.03 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.292e-05/0.3112, allocations: 37.17 kB / 398.7 MB, free: 44.99 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.3112, allocations: 6.719 kB / 398.7 MB, free: 44.99 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.3112, allocations: 0 / 398.7 MB, free: 44.99 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.3112, allocations: 0 / 398.7 MB, free: 44.99 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.701e-05/0.3113, allocations: 7.641 kB / 398.7 MB, free: 44.99 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.3113, allocations: 4.719 kB / 398.7 MB, free: 44.98 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.424e-05/0.3113, allocations: 5.219 kB / 398.7 MB, free: 44.98 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.3113, allocations: 1 kB / 398.7 MB, free: 44.98 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.834e-05/0.3114, allocations: 194.6 kB / 398.9 MB, free: 44.78 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.275e-05/0.3114, allocations: 106.1 kB / 399 MB, free: 44.67 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.407e-05/0.3114, allocations: 109.4 kB / 399.1 MB, free: 44.56 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.399e-05/0.3115, allocations: 184.8 kB / 399.3 MB, free: 44.37 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.288e-05/0.3115, allocations: 177.4 kB / 399.5 MB, free: 44.19 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-05/0.3115, allocations: 185.9 kB / 399.7 MB, free: 44 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001201/0.3116, allocations: 407 kB / 400.1 MB, free: 43.55 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.469e-05/0.3117, allocations: 104.9 kB / 400.2 MB, free: 43.44 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.34e-05/0.3117, allocations: 102.4 kB / 400.3 MB, free: 43.34 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.058e-05/0.3117, allocations: 177.7 kB / 400.5 MB, free: 43.16 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.171e-05/0.3117, allocations: 180.2 kB / 400.6 MB, free: 42.97 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-05/0.3117, allocations: 181.6 kB / 400.8 MB, free: 42.79 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.192e-05/0.3118, allocations: 189.5 kB / 401 MB, free: 42.6 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001948/0.312, allocations: 1.07 MB / 402.1 MB, free: 41.46 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.889e-05/0.312, allocations: 179.3 kB / 402.2 MB, free: 41.27 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.383e-05/0.312, allocations: 189.7 kB / 402.4 MB, free: 41.07 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.061e-05/0.3121, allocations: 101 kB / 402.5 MB, free: 40.97 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.201e-05/0.3121, allocations: 185.6 kB / 402.7 MB, free: 40.78 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.3122, allocations: 110.6 kB / 402.8 MB, free: 40.67 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.815e-05/0.3122, allocations: 76.19 kB / 402.9 MB, free: 40.59 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3122, allocations: 1.531 kB / 402.9 MB, free: 40.59 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003293/0.3125, allocations: 0 / 402.9 MB, free: 40.59 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 6.378e-05/0.3126, allocations: 165 kB / 403 MB, free: 40.43 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 6.26e-05/0.3127, allocations: 16.25 kB / 403.1 MB, free: 40.42 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3127, allocations: 0 / 403.1 MB, free: 40.42 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.724e-06/0.3127, allocations: 5.5 kB / 403.1 MB, free: 40.42 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002502/0.3129, allocations: 462.7 kB / 403.5 MB, free: 39.97 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001517/0.3131, allocations: 149.8 kB / 403.7 MB, free: 39.8 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.227e-05/0.3132, allocations: 0.6709 MB / 404.3 MB, free: 39.11 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.282e-05/0.3132, allocations: 0 / 404.3 MB, free: 39.11 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.445e-05/0.3132, allocations: 12.75 kB / 404.3 MB, free: 39.09 MB / 318.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3132, allocations: 0 / 404.3 MB, free: 39.09 MB / 318.1 MB Notification: Performance of Templates: time 0.001797/0.315, allocations: 176.3 kB / 404.5 MB, free: 39 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Functions.Test.TestTimeConstants_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches