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.001009/0.001009, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001021/0.001021, allocations: 196 kB / 16.26 MB, free: 6.621 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.223/1.223, allocations: 205.1 MB / 222.1 MB, free: 4.617 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.0591/0.0591, allocations: 14.17 MB / 283.6 MB, free: 7.121 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.001354/0.001354, allocations: 75.81 kB / 344.7 MB, free: 19.62 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07855/0.07992, allocations: 50.12 MB / 394.8 MB, free: 1.461 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001611/0.08157, allocations: 0.5442 MB / 395.3 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003018/0.08188, allocations: 125.9 kB / 395.5 MB, free: 0.793 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.398e-05/0.08192, allocations: 0 / 395.5 MB, free: 0.793 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.404e-05/0.08195, allocations: 0 / 395.5 MB, free: 0.793 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002571/0.08221, allocations: 19.98 kB / 395.5 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.956e-06/0.08222, allocations: 0 / 395.5 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 2.717e-05/0.08226, allocations: 0 / 395.5 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.68e-05/0.0823, allocations: 0 / 395.5 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.496e-05/0.08232, allocations: 4 kB / 395.5 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.649e-05/0.08242, allocations: 11.92 kB / 395.5 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.387e-06/0.08243, allocations: 0 / 395.5 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.566e-06/0.08244, allocations: 4 kB / 395.5 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.132e-06/0.08245, allocations: 0 / 395.5 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 1.297e-05/0.08247, allocations: 7.938 kB / 395.5 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 3.114e-05/0.0825, allocations: 7.984 kB / 395.5 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.08251, allocations: 0 / 395.5 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.08252, allocations: 0 / 395.5 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.08253, allocations: 3.938 kB / 395.5 MB, free: 0.7344 MB / 286.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.0002558/0.08279, allocations: 315.6 kB / 395.8 MB, free: 384 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.08283, allocations: 8.031 kB / 395.8 MB, free: 376 kB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.372e-05/0.08287, allocations: 30.75 kB / 395.9 MB, free: 336 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.794e-05/0.08289, allocations: 8.938 kB / 395.9 MB, free: 328 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.578e-05/0.08297, allocations: 164.4 kB / 396 MB, free: 124 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.237e-06/0.08299, allocations: 384 / 396 MB, free: 124 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.985e-06/0.083, allocations: 384 / 396 MB, free: 124 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.965e-05/0.08311, allocations: 47.92 kB / 396.1 MB, free: 64 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.08312, allocations: 3.938 kB / 396.1 MB, free: 60 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.891e-06/0.08313, allocations: 0 / 396.1 MB, free: 60 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.08314, allocations: 0 / 396.1 MB, free: 60 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.759e-05/0.08316, allocations: 8 kB / 396.1 MB, free: 52 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003068/0.08348, allocations: 463.6 kB / 396.5 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.773e-05/0.08356, allocations: 169.1 kB / 396.7 MB, free: 15.37 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.621e-05/0.08359, allocations: 80.14 kB / 396.8 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.557e-05/0.08363, allocations: 83.28 kB / 396.9 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.814e-05/0.08368, allocations: 109.9 kB / 397 MB, free: 15.09 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 3.206e-06/0.08369, allocations: 0 / 397 MB, free: 15.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 6.057e-05/0.08375, allocations: 33.55 kB / 397 MB, free: 15.05 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.26e-05/0.08382, allocations: 134.6 kB / 397.1 MB, free: 14.9 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.705e-05/0.08389, allocations: 97.86 kB / 397.2 MB, free: 14.8 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.047e-05/0.08391, allocations: 25.7 kB / 397.3 MB, free: 14.77 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.006e-05/0.08396, allocations: 92.27 kB / 397.4 MB, free: 14.67 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.795e-06/0.08397, allocations: 0 / 397.4 MB, free: 14.67 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.677e-05/0.084, allocations: 13.72 kB / 397.4 MB, free: 14.65 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.08411, allocations: 310.8 kB / 397.7 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.107e-05/0.08413, allocations: 3.984 kB / 397.7 MB, free: 14.34 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.526e-05/0.08415, allocations: 17.84 kB / 397.7 MB, free: 14.31 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.938e-05/0.08418, allocations: 21.72 kB / 397.7 MB, free: 14.29 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.08419, allocations: 0 / 397.7 MB, free: 14.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.587e-05/0.08428, allocations: 37.64 kB / 397.7 MB, free: 14.24 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.0843, allocations: 4 kB / 397.8 MB, free: 14.24 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.08431, allocations: 0 / 397.8 MB, free: 14.24 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.08432, allocations: 7.984 kB / 397.8 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.459e-05/0.08437, allocations: 3.984 kB / 397.8 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.08438, allocations: 8.062 kB / 397.8 MB, free: 14.22 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.337e-05/0.0844, allocations: 4 kB / 397.8 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.088e-06/0.08441, allocations: 0 / 397.8 MB, free: 14.21 MB / 302.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.49e-05/0.0845, allocations: 197 kB / 398 MB, free: 14.01 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.117e-05/0.08458, allocations: 101 kB / 398.1 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.217e-05/0.08463, allocations: 104.1 kB / 398.2 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.018e-05/0.08469, allocations: 192.1 kB / 398.4 MB, free: 13.6 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.083e-05/0.08476, allocations: 184.3 kB / 398.5 MB, free: 13.41 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.683e-05/0.08482, allocations: 180.2 kB / 398.7 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002013/0.08503, allocations: 401.2 kB / 399.1 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.963e-05/0.08507, allocations: 109 kB / 399.2 MB, free: 12.67 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.979e-05/0.08511, allocations: 104.9 kB / 399.3 MB, free: 12.56 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.338e-05/0.08518, allocations: 184.3 kB / 399.5 MB, free: 12.37 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.833e-05/0.08524, allocations: 184.2 kB / 399.7 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.799e-05/0.0853, allocations: 180.3 kB / 399.8 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.054e-05/0.08536, allocations: 180.2 kB / 400 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000128/0.08549, allocations: 316 kB / 400.3 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.039e-05/0.08557, allocations: 182 kB / 400.5 MB, free: 11.28 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.8e-05/0.08563, allocations: 180.2 kB / 400.7 MB, free: 11.1 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.378e-05/0.08571, allocations: 108.9 kB / 400.8 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.064e-05/0.08578, allocations: 180.2 kB / 401 MB, free: 10.8 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.954e-05/0.08581, allocations: 101 kB / 401.1 MB, free: 10.7 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.082e-05/0.08585, allocations: 87.28 kB / 401.2 MB, free: 10.61 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.08586, allocations: 0 / 401.2 MB, free: 10.61 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000206/0.08607, allocations: 0 / 401.2 MB, free: 10.61 MB / 302.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.0003221/0.08639, allocations: 0.8047 MB / 402 MB, free: 9.777 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 5.103e-05/0.08645, allocations: 8.094 kB / 402 MB, free: 9.77 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.08646, allocations: 0 / 402 MB, free: 9.77 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.496e-06/0.08647, allocations: 7.938 kB / 402 MB, free: 9.762 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003705/0.08685, allocations: 455.1 kB / 402.4 MB, free: 9.316 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002919/0.08715, allocations: 186.1 kB / 402.6 MB, free: 9.094 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002157/0.08737, allocations: 0.6767 MB / 403.3 MB, free: 8.391 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.269e-05/0.08739, allocations: 0 / 403.3 MB, free: 8.391 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.561e-05/0.08742, allocations: 7.438 kB / 403.3 MB, free: 8.383 MB / 302.1 MB Notification: Performance of SimCode: time 2.71e-07/0.08743, allocations: 0 / 403.3 MB, free: 8.383 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.008926/0.09636, allocations: 0.799 MB / 404.1 MB, free: 7.633 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001694/0.09655, allocations: 192.4 kB / 404.3 MB, free: 7.375 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.701/1.798, allocations: 0 / 404.3 MB, free: 7.375 MB / 302.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","../files/PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches