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.007018/0.007018, allocations: 97.81 kB / 15.73 MB, free: 6.004 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.001504/0.001505, allocations: 195.2 kB / 16.67 MB, free: 5.934 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.578/1.578, 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.07449/0.07449, allocations: 14.17 MB / 284.1 MB, free: 6.98 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.002133/0.002133, allocations: 67.89 kB / 396 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.26/0.2621, allocations: 50.14 MB / 446.1 MB, free: 1.934 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001504/0.2637, allocations: 488.8 kB / 446.6 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003234/0.264, allocations: 121.1 kB / 446.7 MB, free: 1.488 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.89e-05/0.2641, allocations: 0 / 446.7 MB, free: 1.488 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.756e-05/0.2641, allocations: 0 / 446.7 MB, free: 1.488 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000281/0.2644, allocations: 23.38 kB / 446.7 MB, free: 1.473 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.278e-06/0.2644, allocations: 0 / 446.7 MB, free: 1.473 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.115e-05/0.2645, allocations: 9 kB / 446.7 MB, free: 1.465 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.661e-05/0.2645, allocations: 2.125 kB / 446.7 MB, free: 1.465 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.219e-05/0.2645, allocations: 0 / 446.7 MB, free: 1.465 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001163/0.2647, allocations: 15.11 kB / 446.7 MB, free: 1.457 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.839e-06/0.2647, allocations: 0 / 446.7 MB, free: 1.457 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.376e-06/0.2647, allocations: 5.312 kB / 446.8 MB, free: 1.453 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.933e-06/0.2647, allocations: 0 / 446.8 MB, free: 1.453 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.032e-05/0.2647, allocations: 0 / 446.8 MB, free: 1.453 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 3.954e-05/0.2647, allocations: 5.375 kB / 446.8 MB, free: 1.449 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2648, allocations: 0 / 446.8 MB, free: 1.449 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2648, allocations: 4 kB / 446.8 MB, free: 1.445 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.2648, allocations: 0 / 446.8 MB, free: 1.445 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.0002103/0.265, allocations: 311.5 kB / 447.1 MB, free: 1.094 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.265, allocations: 9.469 kB / 447.1 MB, free: 1.094 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.622e-05/0.2651, allocations: 30.75 kB / 447.1 MB, free: 1.055 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.777e-05/0.2651, allocations: 2.188 kB / 447.1 MB, free: 1.055 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.246e-05/0.2651, allocations: 164.4 kB / 447.3 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.2652, allocations: 5.547 kB / 447.3 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.68e-06/0.2652, allocations: 1.469 kB / 447.3 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.221e-05/0.2653, allocations: 43.33 kB / 447.3 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.2653, allocations: 7.875 kB / 447.3 MB, free: 0.793 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.362e-06/0.2653, allocations: 0 / 447.3 MB, free: 0.793 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.2653, allocations: 1.125 kB / 447.3 MB, free: 0.793 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.918e-05/0.2653, allocations: 2.125 kB / 447.3 MB, free: 0.793 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002078/0.2655, allocations: 475.3 kB / 447.8 MB, free: 288 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.606e-05/0.2656, allocations: 170.3 kB / 448 MB, free: 108 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.516e-05/0.2656, allocations: 84.17 kB / 448 MB, free: 20 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.099e-05/0.2657, allocations: 75.28 kB / 448.1 MB, free: 15.95 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.943e-05/0.2657, allocations: 107 kB / 448.2 MB, free: 15.83 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.2657, allocations: 4 kB / 448.2 MB, free: 15.83 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 7.232e-05/0.2658, allocations: 26.73 kB / 448.2 MB, free: 15.8 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.838e-05/0.2659, allocations: 131.6 kB / 448.4 MB, free: 15.66 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.477e-05/0.266, allocations: 104.9 kB / 448.5 MB, free: 15.55 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.266, allocations: 25.7 kB / 448.5 MB, free: 15.52 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.873e-05/0.2661, allocations: 85.31 kB / 448.6 MB, free: 15.43 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.745e-06/0.2661, allocations: 0 / 448.6 MB, free: 15.43 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.69e-05/0.2661, allocations: 24.23 kB / 448.6 MB, free: 15.41 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.2663, allocations: 316 kB / 448.9 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.247e-06/0.2663, allocations: 1.219 kB / 448.9 MB, free: 15.09 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.871e-05/0.2663, allocations: 16.08 kB / 448.9 MB, free: 15.07 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.988e-05/0.2664, allocations: 16.12 kB / 449 MB, free: 15.05 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2664, allocations: 1.156 kB / 449 MB, free: 15.05 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001003/0.2665, allocations: 45.8 kB / 449 MB, free: 15.01 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.2665, allocations: 9.688 kB / 449 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.2665, allocations: 0 / 449 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.2665, allocations: 1.094 kB / 449 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.714e-05/0.2666, allocations: 7.672 kB / 449 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.2666, allocations: 0 / 449 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.35e-05/0.2666, allocations: 1.25 kB / 449 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-06/0.2666, allocations: 1.125 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 0.0001114/0.2668, allocations: 194.2 kB / 449.2 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.761e-05/0.2668, allocations: 106.1 kB / 449.3 MB, free: 14.69 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.266e-05/0.2669, allocations: 105.4 kB / 449.4 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.668e-05/0.267, allocations: 181.4 kB / 449.6 MB, free: 14.4 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-05/0.2671, allocations: 181.4 kB / 449.8 MB, free: 14.22 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.014e-05/0.2671, allocations: 180.2 kB / 449.9 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002548/0.2674, allocations: 409.1 kB / 450.3 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.167e-05/0.2675, allocations: 109 kB / 450.4 MB, free: 13.47 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.641e-05/0.2675, allocations: 108.4 kB / 450.6 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.712e-05/0.2676, allocations: 176.3 kB / 450.7 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.289e-05/0.2677, allocations: 180.2 kB / 450.9 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.939e-05/0.2678, allocations: 180.3 kB / 451.1 MB, free: 12.81 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.327e-05/0.2679, allocations: 187.7 kB / 451.3 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002088/0.2681, allocations: 307 kB / 451.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.2682, allocations: 186 kB / 451.7 MB, free: 12.1 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.956e-05/0.2683, allocations: 184.2 kB / 451.9 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.884e-05/0.2684, allocations: 108.7 kB / 452 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.27e-05/0.2685, allocations: 180.2 kB / 452.2 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.651e-05/0.2685, allocations: 101 kB / 452.3 MB, free: 11.51 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.538e-05/0.2686, allocations: 79.25 kB / 452.4 MB, free: 11.44 MB / 334.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2686, allocations: 0 / 452.4 MB, free: 11.44 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002384/0.2688, allocations: 0 / 452.4 MB, free: 11.44 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.0004634/0.2693, allocations: 0.8101 MB / 453.2 MB, free: 10.61 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 7.313e-05/0.2694, allocations: 4.094 kB / 453.2 MB, free: 10.61 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.2694, allocations: 4 kB / 453.2 MB, free: 10.61 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.597e-06/0.2694, allocations: 4.016 kB / 453.2 MB, free: 10.6 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004416/0.2698, allocations: 466.1 kB / 453.7 MB, free: 10.14 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003517/0.2702, allocations: 184.2 kB / 453.8 MB, free: 9.93 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003149/0.2705, allocations: 0.6703 MB / 454.5 MB, free: 9.234 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.017e-05/0.2705, allocations: 3.938 kB / 454.5 MB, free: 9.23 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.482e-05/0.2706, allocations: 8.75 kB / 454.5 MB, free: 9.223 MB / 334.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2706, allocations: 0 / 454.5 MB, free: 9.223 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02226/0.2928, allocations: 0.8927 MB / 455.4 MB, free: 8.605 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.866/8.159, allocations: 4.625 kB / 455.4 MB, free: 8.602 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