Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_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_PowerGrids.Functions.Test.TestTimeConstants") translateModel(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="T1|T2|time",fileNamePrefix="PowerGrids_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.009546/0.009546, allocations: 103.8 kB / 15.74 MB, free: 6.449 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.002067/0.002068, allocations: 195.8 kB / 16.67 MB, free: 6.355 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.507/1.507, allocations: 205.1 MB / 222.6 MB, free: 4.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06151/0.06151, allocations: 14.17 MB / 284.1 MB, free: 7.012 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.001467/0.001467, allocations: 67.91 kB / 396.5 MB, free: 32 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2715/0.273, allocations: 50.13 MB / 446.6 MB, free: 2.109 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001613/0.2746, allocations: 491.5 kB / 447.1 MB, free: 1.754 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003904/0.275, allocations: 114.2 kB / 447.2 MB, free: 1.672 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.581e-05/0.2751, allocations: 0 / 447.2 MB, free: 1.672 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.911e-05/0.2751, allocations: 0 / 447.2 MB, free: 1.672 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003669/0.2755, allocations: 27.38 kB / 447.2 MB, free: 1.652 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.142e-06/0.2755, allocations: 4 kB / 447.2 MB, free: 1.648 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.184e-05/0.2756, allocations: 5.062 kB / 447.2 MB, free: 1.645 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.826e-05/0.2756, allocations: 1.312 kB / 447.2 MB, free: 1.645 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.582e-05/0.2756, allocations: 1.062 kB / 447.2 MB, free: 1.645 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001339/0.2758, allocations: 14.78 kB / 447.2 MB, free: 1.637 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.04e-06/0.2758, allocations: 0 / 447.2 MB, free: 1.637 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.607e-06/0.2758, allocations: 3.938 kB / 447.2 MB, free: 1.633 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.714e-06/0.2758, allocations: 1.031 kB / 447.2 MB, free: 1.633 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.468e-05/0.2758, allocations: 0 / 447.2 MB, free: 1.633 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 5.199e-05/0.2759, allocations: 9 kB / 447.3 MB, free: 1.625 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2759, allocations: 0 / 447.3 MB, free: 1.625 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.2759, allocations: 0 / 447.3 MB, free: 1.625 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.288e-05/0.2759, allocations: 1.094 kB / 447.3 MB, free: 1.625 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.0002876/0.2762, allocations: 315.2 kB / 447.6 MB, free: 1.27 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.2763, allocations: 9.062 kB / 447.6 MB, free: 1.27 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.23e-05/0.2763, allocations: 2.094 kB / 447.6 MB, free: 1.27 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.42e-05/0.2764, allocations: 160.4 kB / 447.7 MB, free: 1.074 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.2764, allocations: 384 / 447.7 MB, free: 1.074 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/0.2764, allocations: 1.531 kB / 447.7 MB, free: 1.074 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001189/0.2765, allocations: 43.55 kB / 447.8 MB, free: 1.023 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.2765, allocations: 192 / 447.8 MB, free: 1.023 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.2766, allocations: 5.344 kB / 447.8 MB, free: 1.02 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.2766, allocations: 0 / 447.8 MB, free: 1.02 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.283e-05/0.2766, allocations: 10.48 kB / 447.8 MB, free: 1.012 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003116/0.2769, allocations: 466.2 kB / 448.2 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.702e-05/0.277, allocations: 174.4 kB / 448.4 MB, free: 336 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.537e-05/0.277, allocations: 89.28 kB / 448.5 MB, free: 244 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.086e-05/0.2771, allocations: 75.28 kB / 448.6 MB, free: 168 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.2771, allocations: 115.2 kB / 448.7 MB, free: 44 kB / 318.1 MB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.2771, allocations: 0 / 448.7 MB, free: 44 kB / 318.1 MB Notification: Performance of matching and sorting (n=0): time 7.607e-05/0.2772, allocations: 31.14 kB / 448.7 MB, free: 8 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.492e-05/0.2773, allocations: 126.7 kB / 448.8 MB, free: 15.87 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.2774, allocations: 96.77 kB / 448.9 MB, free: 15.77 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.2774, allocations: 25.7 kB / 449 MB, free: 15.74 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.795e-05/0.2775, allocations: 93.23 kB / 449.1 MB, free: 15.65 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.939e-06/0.2775, allocations: 0 / 449.1 MB, free: 15.65 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.479e-05/0.2775, allocations: 23.98 kB / 449.1 MB, free: 15.62 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.2776, allocations: 311.8 kB / 449.4 MB, free: 15.31 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.006e-05/0.2777, allocations: 1 kB / 449.4 MB, free: 15.31 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.447e-05/0.2777, allocations: 12.16 kB / 449.4 MB, free: 15.29 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.689e-05/0.2777, allocations: 17.94 kB / 449.4 MB, free: 15.27 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.2777, allocations: 12 kB / 449.4 MB, free: 15.26 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001172/0.2779, allocations: 42.06 kB / 449.5 MB, free: 15.22 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.2779, allocations: 8.875 kB / 449.5 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.2779, allocations: 1.531 kB / 449.5 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.2779, allocations: 0 / 449.5 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.656e-05/0.278, allocations: 3.75 kB / 449.5 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.278, allocations: 0 / 449.5 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.407e-05/0.278, allocations: 1.531 kB / 449.5 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.278, allocations: 1.312 kB / 449.5 MB, free: 15.22 MB / 334.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 0.0001123/0.2781, allocations: 194.4 kB / 449.7 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.939e-05/0.2782, allocations: 110.3 kB / 449.8 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.911e-05/0.2783, allocations: 105.2 kB / 449.9 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.848e-05/0.2784, allocations: 185.6 kB / 450.1 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-05/0.2784, allocations: 176.3 kB / 450.2 MB, free: 14.43 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.303e-05/0.2785, allocations: 181.7 kB / 450.4 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002598/0.2788, allocations: 411.4 kB / 450.8 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.231e-05/0.2788, allocations: 101 kB / 450.9 MB, free: 13.69 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.351e-05/0.2789, allocations: 106 kB / 451 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.106e-05/0.279, allocations: 178.2 kB / 451.2 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.064e-05/0.2791, allocations: 180.2 kB / 451.4 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.323e-05/0.2792, allocations: 190.5 kB / 451.6 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.127e-05/0.2793, allocations: 176.3 kB / 451.7 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001797/0.2794, allocations: 311.8 kB / 452 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.2796, allocations: 183.2 kB / 452.2 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/0.2797, allocations: 185.4 kB / 452.4 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.162e-05/0.2798, allocations: 102.3 kB / 452.5 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.74e-05/0.2799, allocations: 180.2 kB / 452.7 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.867e-05/0.28, allocations: 106.2 kB / 452.8 MB, free: 11.73 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.374e-05/0.28, allocations: 78.22 kB / 452.8 MB, free: 11.66 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.28, allocations: 3.938 kB / 452.8 MB, free: 11.65 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002718/0.2803, allocations: 0 / 452.8 MB, free: 11.65 MB / 334.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.000147/0.2804, allocations: 177.7 kB / 453 MB, free: 11.48 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 8.641e-05/0.2805, allocations: 8.594 kB / 453 MB, free: 11.47 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2805, allocations: 0 / 453 MB, free: 11.47 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.2805, allocations: 0 / 453 MB, free: 11.47 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003876/0.2809, allocations: 457.6 kB / 453.5 MB, free: 11.02 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001895/0.2811, allocations: 166.7 kB / 453.6 MB, free: 10.84 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002429/0.2814, allocations: 0.669 MB / 454.3 MB, free: 10.14 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.406e-05/0.2814, allocations: 6.75 kB / 454.3 MB, free: 10.14 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.747e-05/0.2814, allocations: 7.438 kB / 454.3 MB, free: 10.13 MB / 334.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2814, allocations: 0 / 454.3 MB, free: 10.13 MB / 334.1 MB Notification: Performance of Templates: time 0.001928/0.2834, allocations: 177.1 kB / 454.5 MB, free: 10.04 MB / 334.1 MB make -j1 -f PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.makefile (rm -f PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.pipe ; mkfifo PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.pipe >> ../files/PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.sim & ./PowerGrids_PowerGrids.Functions.Test.TestTimeConstants -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.pipe 2>&1) diffSimulationResults("PowerGrids_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_PowerGrids.Functions.Test.TestTimeConstants.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches