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.002077/0.002077, allocations: 108.8 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.002208/0.002208, allocations: 189.5 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.671/1.671, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.6 MB, free: 13.93 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.001784/0.001784, allocations: 72.69 kB / 345.7 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.3255, allocations: 50.13 MB / 395.9 MB, free: 47.84 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.002857/0.3284, allocations: 493.7 kB / 396.3 MB, free: 47.5 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004107/0.3289, allocations: 123.8 kB / 396.5 MB, free: 47.41 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.243e-05/0.3289, allocations: 0 / 396.5 MB, free: 47.41 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.703e-05/0.329, allocations: 0 / 396.5 MB, free: 47.41 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00036/0.3294, allocations: 19.42 kB / 396.5 MB, free: 47.39 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.288e-06/0.3294, allocations: 0 / 396.5 MB, free: 47.39 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 3.966e-05/0.3294, allocations: 1.969 kB / 396.5 MB, free: 47.39 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.653e-05/0.3295, allocations: 9.953 kB / 396.5 MB, free: 47.39 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.86e-05/0.3295, allocations: 0 / 396.5 MB, free: 47.39 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001564/0.3297, allocations: 7.719 kB / 396.5 MB, free: 47.39 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.919e-06/0.3297, allocations: 0 / 396.5 MB, free: 47.39 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.118e-06/0.3297, allocations: 0 / 396.5 MB, free: 47.39 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.068e-05/0.3297, allocations: 3.984 kB / 396.5 MB, free: 47.38 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.624e-05/0.3298, allocations: 3.938 kB / 396.5 MB, free: 47.38 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 4.114e-05/0.3298, allocations: 9.938 kB / 396.5 MB, free: 47.37 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.3298, allocations: 0 / 396.5 MB, free: 47.37 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.865e-06/0.3298, allocations: 3.938 kB / 396.5 MB, free: 47.37 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.543e-06/0.3299, allocations: 0 / 396.5 MB, free: 47.37 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.0002672/0.3301, allocations: 310.7 kB / 396.8 MB, free: 47.02 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.799e-05/0.3302, allocations: 9.688 kB / 396.8 MB, free: 47.02 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.175e-05/0.3302, allocations: 6 kB / 396.8 MB, free: 47.01 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.946e-05/0.3303, allocations: 160.4 kB / 397 MB, free: 46.82 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.3304, allocations: 9.422 kB / 397 MB, free: 46.81 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/0.3304, allocations: 5.781 kB / 397 MB, free: 46.8 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/0.3305, allocations: 42.81 kB / 397.1 MB, free: 46.75 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.3305, allocations: 192 / 397.1 MB, free: 46.75 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.3305, allocations: 5.406 kB / 397.1 MB, free: 46.75 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.3306, allocations: 0 / 397.1 MB, free: 46.75 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.877e-05/0.3306, allocations: 5.594 kB / 397.1 MB, free: 46.75 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003471/0.3309, allocations: 468.1 kB / 397.5 MB, free: 46.24 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.879e-05/0.331, allocations: 170.6 kB / 397.7 MB, free: 46.06 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.436e-05/0.3311, allocations: 80.14 kB / 397.8 MB, free: 45.98 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.3311, allocations: 80.53 kB / 397.9 MB, free: 45.9 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.3311, allocations: 109.8 kB / 398 MB, free: 45.79 MB / 318.1 MB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.3311, allocations: 0 / 398 MB, free: 45.79 MB / 318.1 MB Notification: Performance of matching and sorting (n=0): time 8.69e-05/0.3312, allocations: 27.27 kB / 398 MB, free: 45.75 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.293e-05/0.3313, allocations: 132.1 kB / 398.1 MB, free: 45.61 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.561e-05/0.3314, allocations: 100.3 kB / 398.2 MB, free: 45.51 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.715e-06/0.3314, allocations: 25.7 kB / 398.2 MB, free: 45.48 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.308e-05/0.3315, allocations: 87.27 kB / 398.3 MB, free: 45.39 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.348e-06/0.3315, allocations: 128 / 398.3 MB, free: 45.39 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.473e-05/0.3315, allocations: 24.25 kB / 398.3 MB, free: 45.36 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.315e-05/0.3316, allocations: 312.4 kB / 398.7 MB, free: 45.05 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.183e-05/0.3316, allocations: 1.344 kB / 398.7 MB, free: 45.05 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.347e-05/0.3316, allocations: 14.97 kB / 398.7 MB, free: 45.03 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.724e-05/0.3317, allocations: 13.03 kB / 398.7 MB, free: 45.02 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.3317, allocations: 9.25 kB / 398.7 MB, free: 45.01 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001213/0.3318, allocations: 45.34 kB / 398.7 MB, free: 44.96 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.3318, allocations: 5.906 kB / 398.7 MB, free: 44.96 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.3318, allocations: 0 / 398.7 MB, free: 44.96 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.3319, allocations: 1.125 kB / 398.7 MB, free: 44.96 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.756e-05/0.3319, allocations: 3.469 kB / 398.7 MB, free: 44.96 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.332, allocations: 0 / 398.7 MB, free: 44.96 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.251e-05/0.332, allocations: 5.094 kB / 398.7 MB, free: 44.96 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-06/0.332, allocations: 1.156 kB / 398.7 MB, free: 44.96 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.527e-05/0.3321, allocations: 198.3 kB / 398.9 MB, free: 44.76 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.996e-05/0.3321, allocations: 110.3 kB / 399 MB, free: 44.64 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.144e-05/0.3322, allocations: 106.1 kB / 399.2 MB, free: 44.54 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.281e-05/0.3322, allocations: 180.2 kB / 399.3 MB, free: 44.35 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.443e-05/0.3323, allocations: 181.2 kB / 399.5 MB, free: 44.17 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.78e-05/0.3323, allocations: 185.4 kB / 399.7 MB, free: 43.98 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001912/0.3325, allocations: 406.7 kB / 400.1 MB, free: 43.53 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-05/0.3325, allocations: 102.6 kB / 400.2 MB, free: 43.42 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.985e-05/0.3325, allocations: 102.4 kB / 400.3 MB, free: 43.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.365e-05/0.3326, allocations: 184.2 kB / 400.5 MB, free: 43.13 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.36e-05/0.3326, allocations: 181.4 kB / 400.6 MB, free: 42.95 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-05/0.3327, allocations: 185.5 kB / 400.8 MB, free: 42.76 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.435e-05/0.3327, allocations: 181.2 kB / 401 MB, free: 42.57 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003037/0.333, allocations: 1.071 MB / 402.1 MB, free: 41.44 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.725e-05/0.3331, allocations: 186 kB / 402.3 MB, free: 41.23 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.652e-05/0.3332, allocations: 185.7 kB / 402.4 MB, free: 41.05 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.592e-05/0.3332, allocations: 106.4 kB / 402.5 MB, free: 40.94 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.922e-05/0.3333, allocations: 177.2 kB / 402.7 MB, free: 40.76 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.572e-05/0.3333, allocations: 102.4 kB / 402.8 MB, free: 40.65 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.576e-05/0.3334, allocations: 88.36 kB / 402.9 MB, free: 40.57 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3334, allocations: 1.219 kB / 402.9 MB, free: 40.57 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005111/0.3339, allocations: 1.25 kB / 402.9 MB, free: 40.57 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 9.831e-05/0.334, allocations: 169.3 kB / 403.1 MB, free: 40.4 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 7.277e-05/0.3341, allocations: 7.938 kB / 403.1 MB, free: 40.4 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3341, allocations: 0 / 403.1 MB, free: 40.4 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.743e-06/0.3341, allocations: 4.219 kB / 403.1 MB, free: 40.39 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003721/0.3345, allocations: 453.2 kB / 403.5 MB, free: 39.95 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002164/0.3347, allocations: 154.2 kB / 403.7 MB, free: 39.78 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001309/0.3348, allocations: 0.6743 MB / 404.3 MB, free: 39.08 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.158e-05/0.3349, allocations: 0 / 404.3 MB, free: 39.08 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.957e-05/0.3349, allocations: 12.94 kB / 404.4 MB, free: 39.07 MB / 318.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3349, allocations: 0 / 404.4 MB, free: 39.07 MB / 318.1 MB Notification: Performance of Templates: time 0.002464/0.3374, allocations: 178 kB / 404.5 MB, free: 38.97 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=50 -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