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.001089/0.001089, allocations: 105 kB / 17.03 MB, free: 5.707 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.001088/0.001088, allocations: 196.1 kB / 17.98 MB, free: 5.078 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.34/1.34, allocations: 205.1 MB / 223.8 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06416/0.06416, allocations: 14.17 MB / 285.4 MB, free: 13.86 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.001796/0.001796, allocations: 76.19 kB / 347.2 MB, free: 15.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3175/0.3194, allocations: 50.12 MB / 397.3 MB, free: 48.05 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.002331/0.3217, allocations: 492.4 kB / 397.8 MB, free: 47.7 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003802/0.3221, allocations: 119.4 kB / 397.9 MB, free: 47.61 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.145e-05/0.3222, allocations: 0 / 397.9 MB, free: 47.61 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.339e-05/0.3222, allocations: 0 / 397.9 MB, free: 47.61 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003516/0.3226, allocations: 31.66 kB / 397.9 MB, free: 47.59 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.362e-06/0.3226, allocations: 0 / 397.9 MB, free: 47.59 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.275e-05/0.3227, allocations: 2.094 kB / 397.9 MB, free: 47.59 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.804e-05/0.3227, allocations: 0 / 397.9 MB, free: 47.59 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.537e-05/0.3227, allocations: 2 kB / 397.9 MB, free: 47.59 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000149/0.3229, allocations: 6.781 kB / 397.9 MB, free: 47.59 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.163e-06/0.3229, allocations: 3.984 kB / 397.9 MB, free: 47.59 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.327e-06/0.3229, allocations: 0 / 397.9 MB, free: 47.59 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.437e-06/0.3229, allocations: 0 / 397.9 MB, free: 47.59 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.851e-05/0.323, allocations: 7.938 kB / 398 MB, free: 47.58 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 4.665e-05/0.323, allocations: 9.547 kB / 398 MB, free: 47.57 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.323, allocations: 0 / 398 MB, free: 47.57 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.323, allocations: 0 / 398 MB, free: 47.57 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.323, allocations: 0 / 398 MB, free: 47.57 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.0002698/0.3233, allocations: 315.7 kB / 398.3 MB, free: 47.21 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.3234, allocations: 9.125 kB / 398.3 MB, free: 47.21 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.814e-05/0.3234, allocations: 0.9375 kB / 398.3 MB, free: 47.21 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.219e-05/0.3235, allocations: 165.8 kB / 398.4 MB, free: 47.02 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.3236, allocations: 384 / 398.4 MB, free: 47.02 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.3236, allocations: 9.812 kB / 398.5 MB, free: 47.01 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001199/0.3237, allocations: 46.98 kB / 398.5 MB, free: 46.95 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.3237, allocations: 192 / 398.5 MB, free: 46.95 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.3237, allocations: 5.406 kB / 398.5 MB, free: 46.95 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.3238, allocations: 0 / 398.5 MB, free: 46.95 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.438e-05/0.3238, allocations: 3.031 kB / 398.5 MB, free: 46.95 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003173/0.3241, allocations: 466.5 kB / 399 MB, free: 46.44 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.729e-05/0.3242, allocations: 174.6 kB / 399.1 MB, free: 46.26 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.137e-05/0.3242, allocations: 81.52 kB / 399.2 MB, free: 46.18 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.272e-05/0.3242, allocations: 75.28 kB / 399.3 MB, free: 46.11 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.3243, allocations: 109.8 kB / 399.4 MB, free: 45.99 MB / 318.1 MB Notification: Performance of pre-optimization done (n=0): time 1.533e-06/0.3243, allocations: 1.344 kB / 399.4 MB, free: 45.99 MB / 318.1 MB Notification: Performance of matching and sorting (n=0): time 8.928e-05/0.3244, allocations: 29.67 kB / 399.4 MB, free: 45.95 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.537e-05/0.3244, allocations: 131.7 kB / 399.6 MB, free: 45.81 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.34e-05/0.3245, allocations: 100.4 kB / 399.7 MB, free: 45.71 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.121e-06/0.3245, allocations: 27.27 kB / 399.7 MB, free: 45.68 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.137e-05/0.3246, allocations: 85.88 kB / 399.8 MB, free: 45.59 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.571e-06/0.3246, allocations: 5.656 kB / 399.8 MB, free: 45.59 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.906e-05/0.3247, allocations: 15.03 kB / 399.8 MB, free: 45.57 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.05e-05/0.3247, allocations: 312.2 kB / 400.1 MB, free: 45.25 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.353e-05/0.3247, allocations: 1.625 kB / 400.1 MB, free: 45.25 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.834e-05/0.3248, allocations: 19.2 kB / 400.1 MB, free: 45.23 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.196e-05/0.3248, allocations: 22 kB / 400.1 MB, free: 45.21 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.3248, allocations: 3.938 kB / 400.1 MB, free: 45.2 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001296/0.325, allocations: 37.33 kB / 400.2 MB, free: 45.17 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.325, allocations: 6.25 kB / 400.2 MB, free: 45.17 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.325, allocations: 0 / 400.2 MB, free: 45.17 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.3251, allocations: 1.219 kB / 400.2 MB, free: 45.17 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.653e-05/0.3251, allocations: 10.3 kB / 400.2 MB, free: 45.16 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.3252, allocations: 1.312 kB / 400.2 MB, free: 45.16 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.286e-05/0.3252, allocations: 5.219 kB / 400.2 MB, free: 45.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.3252, allocations: 2.219 kB / 400.2 MB, free: 45.16 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 6.99e-05/0.3253, allocations: 193.1 kB / 400.4 MB, free: 44.96 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.836e-05/0.3254, allocations: 105.8 kB / 400.5 MB, free: 44.85 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.352e-05/0.3254, allocations: 110.6 kB / 400.6 MB, free: 44.73 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.223e-05/0.3254, allocations: 184.2 kB / 400.8 MB, free: 44.55 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.176e-05/0.3255, allocations: 177.8 kB / 400.9 MB, free: 44.37 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.284e-05/0.3255, allocations: 184.2 kB / 401.1 MB, free: 44.18 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002165/0.3258, allocations: 399.9 kB / 401.5 MB, free: 43.73 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.652e-05/0.3258, allocations: 108.9 kB / 401.6 MB, free: 43.62 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.427e-05/0.3258, allocations: 106 kB / 401.7 MB, free: 43.51 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.519e-05/0.3259, allocations: 177.7 kB / 401.9 MB, free: 43.33 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.605e-05/0.3259, allocations: 181.3 kB / 402.1 MB, free: 43.15 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.789e-05/0.326, allocations: 181.6 kB / 402.3 MB, free: 42.96 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-05/0.3261, allocations: 185.6 kB / 402.4 MB, free: 42.78 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003081/0.3264, allocations: 1.073 MB / 403.5 MB, free: 41.64 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.569e-05/0.3265, allocations: 183.4 kB / 403.7 MB, free: 41.44 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.408e-05/0.3265, allocations: 185.4 kB / 403.9 MB, free: 41.25 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.075e-05/0.3266, allocations: 102.5 kB / 404 MB, free: 41.14 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.27e-05/0.3267, allocations: 184.2 kB / 404.2 MB, free: 40.96 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.896e-05/0.3267, allocations: 110.7 kB / 404.3 MB, free: 40.84 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.294e-05/0.3267, allocations: 76.62 kB / 404.3 MB, free: 40.77 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3267, allocations: 1.188 kB / 404.3 MB, free: 40.77 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006284/0.3274, allocations: 1.344 kB / 404.3 MB, free: 40.77 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 0.0001087/0.3275, allocations: 173 kB / 404.5 MB, free: 40.6 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 8.803e-05/0.3276, allocations: 7.219 kB / 404.5 MB, free: 40.6 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3276, allocations: 224 / 404.5 MB, free: 40.6 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.214e-06/0.3276, allocations: 5.094 kB / 404.5 MB, free: 40.59 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004432/0.3281, allocations: 461.8 kB / 405 MB, free: 40.14 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002197/0.3283, allocations: 149.4 kB / 405.1 MB, free: 39.98 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001311/0.3285, allocations: 0.6701 MB / 405.8 MB, free: 39.28 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.738e-05/0.3285, allocations: 1.094 kB / 405.8 MB, free: 39.28 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.777e-05/0.3285, allocations: 11.44 kB / 405.8 MB, free: 39.27 MB / 318.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3285, allocations: 0 / 405.8 MB, free: 39.27 MB / 318.1 MB Notification: Performance of Templates: time 0.002594/0.3311, allocations: 177.5 kB / 406 MB, free: 39.17 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 -s cvode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches