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: "" <> buildModelFMU(PowerGrids.Functions.Test.TestTimeConstants,fileNamePrefix="PowerGrids_PowerGrids_Functions_Test_TestTimeConstants",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Functions.Test.TestTimeConstants,fileNamePrefix="PowerGrids_PowerGrids_Functions_Test_TestTimeConstants",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006672/0.006672, allocations: 100.1 kB / 15.73 MB, free: 6.473 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.001293/0.001293, allocations: 194.8 kB / 16.67 MB, free: 6.379 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.508/1.508, allocations: 205.1 MB / 222.6 MB, free: 4.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06246/0.06246, allocations: 14.17 MB / 284.1 MB, free: 7.008 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.002602/0.002603, allocations: 67.89 kB / 396 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.2864, allocations: 50.13 MB / 446.1 MB, free: 1.941 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.00157/0.288, allocations: 490.8 kB / 446.6 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003177/0.2883, allocations: 118.1 kB / 446.7 MB, free: 1.5 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.68e-05/0.2883, allocations: 0 / 446.7 MB, free: 1.5 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.332e-05/0.2884, allocations: 1.156 kB / 446.7 MB, free: 1.5 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002899/0.2887, allocations: 26.55 kB / 446.7 MB, free: 1.48 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.811e-06/0.2887, allocations: 0 / 446.7 MB, free: 1.48 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.011e-05/0.2887, allocations: 12.94 kB / 446.7 MB, free: 1.469 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.42e-05/0.2888, allocations: 5.469 kB / 446.7 MB, free: 1.465 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.291e-05/0.2888, allocations: 0.875 kB / 446.7 MB, free: 1.465 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001255/0.2889, allocations: 15.28 kB / 446.7 MB, free: 1.457 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.939e-06/0.2889, allocations: 0 / 446.7 MB, free: 1.457 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.527e-06/0.2889, allocations: 0 / 446.7 MB, free: 1.457 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.456e-06/0.289, allocations: 0 / 446.7 MB, free: 1.457 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.748e-05/0.289, allocations: 0.9062 kB / 446.7 MB, free: 1.457 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 4.801e-05/0.289, allocations: 4.906 kB / 446.7 MB, free: 1.453 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.289, allocations: 4 kB / 446.8 MB, free: 1.449 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2891, allocations: 0 / 446.8 MB, free: 1.449 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.076e-05/0.2891, allocations: 1.062 kB / 446.8 MB, free: 1.449 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.0002561/0.2893, allocations: 315.1 kB / 447.1 MB, free: 1.094 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.2894, allocations: 9 kB / 447.1 MB, free: 1.094 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.767e-05/0.2894, allocations: 31.72 kB / 447.1 MB, free: 1.055 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.217e-05/0.2894, allocations: 4.922 kB / 447.1 MB, free: 1.051 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.06e-05/0.2895, allocations: 161.6 kB / 447.3 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.2895, allocations: 384 / 447.3 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.548e-06/0.2895, allocations: 1.531 kB / 447.3 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.2896, allocations: 51.3 kB / 447.3 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.2897, allocations: 5.125 kB / 447.3 MB, free: 0.793 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-06/0.2897, allocations: 0 / 447.3 MB, free: 0.793 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.2897, allocations: 0 / 447.3 MB, free: 0.793 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.971e-05/0.2897, allocations: 2.438 kB / 447.3 MB, free: 0.793 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002431/0.2899, allocations: 477.2 kB / 447.8 MB, free: 288 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.829e-05/0.29, allocations: 170.1 kB / 448 MB, free: 108 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.874e-05/0.29, allocations: 85.36 kB / 448 MB, free: 20 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.377e-05/0.2901, allocations: 75.28 kB / 448.1 MB, free: 15.95 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.328e-05/0.2901, allocations: 114.9 kB / 448.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.2901, allocations: 0 / 448.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 7.218e-05/0.2902, allocations: 30.67 kB / 448.3 MB, free: 15.79 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.445e-05/0.2903, allocations: 127.8 kB / 448.4 MB, free: 15.65 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.016e-05/0.2904, allocations: 96.3 kB / 448.5 MB, free: 15.55 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.2904, allocations: 25.7 kB / 448.5 MB, free: 15.52 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.418e-05/0.2904, allocations: 85.08 kB / 448.6 MB, free: 15.43 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.356e-06/0.2905, allocations: 1.031 kB / 448.6 MB, free: 15.43 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.9e-05/0.2905, allocations: 19.92 kB / 448.6 MB, free: 15.41 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.2906, allocations: 312.2 kB / 448.9 MB, free: 15.1 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.149e-05/0.2906, allocations: 5.344 kB / 448.9 MB, free: 15.09 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.3e-05/0.2906, allocations: 11.66 kB / 448.9 MB, free: 15.08 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.159e-05/0.2907, allocations: 21.09 kB / 448.9 MB, free: 15.05 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.2907, allocations: 64 / 448.9 MB, free: 15.05 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001061/0.2908, allocations: 49.78 kB / 449 MB, free: 15.01 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.2908, allocations: 9.156 kB / 449 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.2908, allocations: 1.281 kB / 449 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.2909, allocations: 1.344 kB / 449 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.111e-05/0.2909, allocations: 2.562 kB / 449 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.483e-06/0.2909, allocations: 5.312 kB / 449 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.418e-05/0.2909, allocations: 0 / 449 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-06/0.291, allocations: 1.25 kB / 449 MB, free: 15 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 8.746e-05/0.291, allocations: 191.2 kB / 449.2 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.534e-05/0.2911, allocations: 102.1 kB / 449.3 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.285e-05/0.2912, allocations: 113.2 kB / 449.4 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.499e-05/0.2912, allocations: 181.3 kB / 449.6 MB, free: 14.4 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.855e-05/0.2913, allocations: 177.4 kB / 449.8 MB, free: 14.22 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-05/0.2913, allocations: 181 kB / 449.9 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002103/0.2916, allocations: 406.3 kB / 450.3 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.511e-05/0.2916, allocations: 110 kB / 450.4 MB, free: 13.47 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.274e-05/0.2916, allocations: 106.1 kB / 450.5 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.018e-05/0.2917, allocations: 177.4 kB / 450.7 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.177e-05/0.2918, allocations: 181.3 kB / 450.9 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.167e-05/0.2918, allocations: 185.5 kB / 451.1 MB, free: 12.81 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.259e-05/0.2919, allocations: 181.2 kB / 451.3 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001293/0.292, allocations: 310.7 kB / 451.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.508e-05/0.2921, allocations: 187 kB / 451.7 MB, free: 12.1 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.891e-05/0.2922, allocations: 182.5 kB / 451.9 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.59e-05/0.2923, allocations: 104.9 kB / 452 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.815e-05/0.2923, allocations: 181.5 kB / 452.2 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.52e-05/0.2924, allocations: 102.1 kB / 452.3 MB, free: 11.52 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.318e-05/0.2924, allocations: 81.89 kB / 452.4 MB, free: 11.44 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.613e-06/0.2924, allocations: 0 / 452.4 MB, free: 11.44 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000224/0.2927, allocations: 4.844 kB / 452.4 MB, free: 11.43 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.0003416/0.293, allocations: 0.8033 MB / 453.2 MB, free: 10.61 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 6.76e-05/0.2931, allocations: 4.312 kB / 453.2 MB, free: 10.61 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2931, allocations: 3.938 kB / 453.2 MB, free: 10.61 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.815e-06/0.2931, allocations: 4.016 kB / 453.2 MB, free: 10.61 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003475/0.2934, allocations: 466.5 kB / 453.7 MB, free: 10.15 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003257/0.2938, allocations: 176 kB / 453.8 MB, free: 9.941 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002435/0.294, allocations: 0.6754 MB / 454.5 MB, free: 9.242 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.818e-05/0.2941, allocations: 3.984 kB / 454.5 MB, free: 9.238 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.565e-05/0.2941, allocations: 11.38 kB / 454.5 MB, free: 9.227 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2941, allocations: 4 kB / 454.5 MB, free: 9.223 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01706/0.3112, allocations: 0.8835 MB / 455.4 MB, free: 8.613 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.068/8.379, allocations: 10.16 kB / 455.4 MB, free: 8.605 MB / 334.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Functions.Test.TestTimeConstants_res.mat --tempDir=temp_PowerGrids_PowerGrids_Functions_Test_TestTimeConstants_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Functions_Test_TestTimeConstants.fmu > PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.pipe 2>&1) diffSimulationResults("PowerGrids_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_PowerGrids.Functions.Test.TestTimeConstants.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches