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.001269/0.001269, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 196.6 kB / 16.53 MB, free: 6.699 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.482/1.482, allocations: 205.1 MB / 222.4 MB, free: 4.629 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06208/0.06208, allocations: 14.17 MB / 283.9 MB, free: 7.094 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.001422/0.001422, allocations: 67.84 kB / 345.2 MB, free: 19.3 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07972/0.08115, allocations: 50.13 MB / 395.3 MB, free: 1.141 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.00159/0.08278, allocations: 490.9 kB / 395.8 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002817/0.08309, allocations: 127.5 kB / 395.9 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.223e-05/0.08312, allocations: 0 / 395.9 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.014e-05/0.08314, allocations: 0 / 395.9 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002336/0.08338, allocations: 23.92 kB / 395.9 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.306e-06/0.08339, allocations: 0 / 395.9 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 2.63e-05/0.08342, allocations: 4 kB / 395.9 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.169e-05/0.08346, allocations: 0 / 395.9 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.486e-05/0.08348, allocations: 7.984 kB / 395.9 MB, free: 0.5 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.362e-05/0.08358, allocations: 4 kB / 395.9 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.416e-06/0.08359, allocations: 3.938 kB / 395.9 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.916e-06/0.08359, allocations: 0 / 395.9 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.295e-06/0.08361, allocations: 4 kB / 395.9 MB, free: 500 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 1.428e-05/0.08363, allocations: 7.938 kB / 396 MB, free: 492 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 2.624e-05/0.08366, allocations: 7.922 kB / 396 MB, free: 484 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.08367, allocations: 0 / 396 MB, free: 484 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.08367, allocations: 0 / 396 MB, free: 484 kB / 286.1 MB Notification: Performance of Transformations before backend: time 8.286e-06/0.08368, allocations: 0 / 396 MB, free: 484 kB / 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.0002787/0.08397, allocations: 307.6 kB / 396.3 MB, free: 124 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.08401, allocations: 8.031 kB / 396.3 MB, free: 116 kB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.06e-05/0.08404, allocations: 34.75 kB / 396.3 MB, free: 72 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.784e-05/0.08407, allocations: 4.938 kB / 396.3 MB, free: 68 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.08418, allocations: 170.7 kB / 396.5 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.08419, allocations: 384 / 396.5 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.744e-06/0.08421, allocations: 384 / 396.5 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.245e-05/0.0843, allocations: 39.98 kB / 396.5 MB, free: 15.81 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.08432, allocations: 11.86 kB / 396.5 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.532e-06/0.08433, allocations: 0 / 396.5 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.08434, allocations: 0 / 396.5 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.041e-05/0.08437, allocations: 8 kB / 396.5 MB, free: 15.79 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000315/0.08469, allocations: 471.6 kB / 397 MB, free: 15.28 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.246e-05/0.08478, allocations: 169.1 kB / 397.2 MB, free: 15.1 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.343e-05/0.08482, allocations: 80.14 kB / 397.2 MB, free: 15.02 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.997e-05/0.08485, allocations: 75.28 kB / 397.3 MB, free: 14.95 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.676e-05/0.08491, allocations: 113.9 kB / 397.4 MB, free: 14.82 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 2.745e-06/0.08491, allocations: 0 / 397.4 MB, free: 14.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 7.347e-05/0.08499, allocations: 37.55 kB / 397.5 MB, free: 14.78 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.825e-05/0.08506, allocations: 134.6 kB / 397.6 MB, free: 14.64 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.822e-05/0.08515, allocations: 93.86 kB / 397.7 MB, free: 14.54 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.08517, allocations: 25.7 kB / 397.7 MB, free: 14.5 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.953e-05/0.08522, allocations: 92.39 kB / 397.8 MB, free: 14.41 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.847e-06/0.08523, allocations: 0 / 397.8 MB, free: 14.41 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.12e-05/0.08527, allocations: 17.72 kB / 397.8 MB, free: 14.39 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.08538, allocations: 310.8 kB / 398.1 MB, free: 14.07 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.12e-05/0.08539, allocations: 3.984 kB / 398.1 MB, free: 14.07 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.393e-05/0.08541, allocations: 13.72 kB / 398.1 MB, free: 14.05 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.508e-05/0.08545, allocations: 25.72 kB / 398.2 MB, free: 14.02 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.08546, allocations: 0 / 398.2 MB, free: 14.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001013/0.08556, allocations: 37.64 kB / 398.2 MB, free: 13.98 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.08558, allocations: 4 kB / 398.2 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.0856, allocations: 4 kB / 398.2 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.08561, allocations: 0 / 398.2 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.033e-05/0.08567, allocations: 3.984 kB / 398.2 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.08568, allocations: 4 kB / 398.2 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.427e-05/0.0857, allocations: 0 / 398.2 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.197e-06/0.08571, allocations: 4.062 kB / 398.2 MB, free: 13.96 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 9.246e-05/0.08581, allocations: 200.9 kB / 398.4 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.567e-05/0.08587, allocations: 101 kB / 398.5 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.038e-05/0.08592, allocations: 104.1 kB / 398.6 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.832e-05/0.08599, allocations: 184.2 kB / 398.8 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-05/0.08607, allocations: 184.3 kB / 399 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.899e-05/0.08613, allocations: 180.2 kB / 399.1 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002188/0.08635, allocations: 409.2 kB / 399.5 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.171e-05/0.08639, allocations: 105 kB / 399.7 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.611e-05/0.08643, allocations: 108.9 kB / 399.8 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-05/0.0865, allocations: 176.3 kB / 399.9 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001147/0.08662, allocations: 184.2 kB / 400.1 MB, free: 11.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001312/0.08676, allocations: 184.3 kB / 400.3 MB, free: 11.74 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.579e-05/0.08683, allocations: 180.2 kB / 400.5 MB, free: 11.56 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001476/0.08698, allocations: 307.7 kB / 400.8 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.364e-05/0.08707, allocations: 186.3 kB / 400.9 MB, free: 11.03 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.916e-05/0.08716, allocations: 180.2 kB / 401.1 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.36e-05/0.08724, allocations: 109 kB / 401.2 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.471e-05/0.0873, allocations: 184.2 kB / 401.4 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.17e-05/0.08734, allocations: 101 kB / 401.5 MB, free: 10.44 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.091e-05/0.08739, allocations: 79.28 kB / 401.6 MB, free: 10.36 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.0874, allocations: 4.094 kB / 401.6 MB, free: 10.36 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002544/0.08766, allocations: 4 kB / 401.6 MB, free: 10.35 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.0004632/0.08812, allocations: 0.8008 MB / 402.4 MB, free: 9.523 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 6.275e-05/0.0882, allocations: 8 kB / 402.4 MB, free: 9.516 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.08821, allocations: 4.125 kB / 402.4 MB, free: 9.512 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.064e-06/0.08821, allocations: 4 kB / 402.4 MB, free: 9.508 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003491/0.08857, allocations: 458.1 kB / 402.9 MB, free: 9.059 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003093/0.08888, allocations: 178 kB / 403 MB, free: 8.844 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002123/0.08911, allocations: 0.6767 MB / 403.7 MB, free: 8.141 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.354e-05/0.08913, allocations: 4 kB / 403.7 MB, free: 8.137 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.92e-05/0.08915, allocations: 7.438 kB / 403.7 MB, free: 8.129 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.08916, allocations: 0 / 403.7 MB, free: 8.129 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01827/0.1074, allocations: 0.8744 MB / 404.6 MB, free: 7.258 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.24/10.34, allocations: 4.625 kB / 404.6 MB, free: 7.254 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","/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