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.0008537/0.0008538, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005205/0.005205, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.237/1.237, allocations: 205.4 MB / 222.4 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05649/0.05649, allocations: 14.16 MB / 284.9 MB, free: 7.027 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.0004615/0.0004615, allocations: 16.55 kB / 346.9 MB, free: 19.45 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07616/0.07663, allocations: 51.12 MB / 398 MB, free: 304 kB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.000509/0.07717, allocations: 210.2 kB / 398.2 MB, free: 96 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003282/0.07751, allocations: 122 kB / 398.3 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.087e-06/0.07753, allocations: 0 / 398.3 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.152e-05/0.07755, allocations: 0 / 398.3 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001889/0.07774, allocations: 23.92 kB / 398.3 MB, free: 15.95 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.114e-06/0.07775, allocations: 0 / 398.3 MB, free: 15.95 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 2.137e-05/0.07778, allocations: 4 kB / 398.3 MB, free: 15.95 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.296e-05/0.07782, allocations: 3.984 kB / 398.3 MB, free: 15.95 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.197e-06/0.07783, allocations: 0 / 398.3 MB, free: 15.95 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.264e-05/0.07793, allocations: 11.98 kB / 398.3 MB, free: 15.93 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.898e-06/0.07794, allocations: 0 / 398.3 MB, free: 15.93 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.434e-06/0.07795, allocations: 0 / 398.3 MB, free: 15.93 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.35e-06/0.07796, allocations: 4 kB / 398.3 MB, free: 15.93 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.962e-05/0.07798, allocations: 29.64 kB / 398.4 MB, free: 15.89 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 2.029e-05/0.07801, allocations: 0 / 398.4 MB, free: 15.89 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.07802, allocations: 4 kB / 398.4 MB, free: 15.89 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.07803, allocations: 4 kB / 398.4 MB, free: 15.89 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.556e-06/0.07803, allocations: 0 / 398.4 MB, free: 15.89 MB / 302.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.0002074/0.07825, allocations: 307.5 kB / 398.7 MB, free: 15.54 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.07829, allocations: 8.094 kB / 398.7 MB, free: 15.53 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.704e-05/0.07832, allocations: 34.75 kB / 398.7 MB, free: 15.48 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.577e-05/0.07834, allocations: 0.9375 kB / 398.7 MB, free: 15.48 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.991e-05/0.07843, allocations: 168.4 kB / 398.9 MB, free: 15.28 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.126e-06/0.07844, allocations: 384 / 398.9 MB, free: 15.28 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.586e-06/0.07845, allocations: 384 / 398.9 MB, free: 15.28 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.558e-05/0.07854, allocations: 55.89 kB / 398.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.07856, allocations: 3.938 kB / 398.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.25e-06/0.07857, allocations: 0 / 398.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.972e-06/0.07858, allocations: 0 / 398.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.492e-05/0.0786, allocations: 4 kB / 399 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002787/0.07888, allocations: 475.5 kB / 399.4 MB, free: 14.69 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.876e-05/0.07897, allocations: 169.1 kB / 399.6 MB, free: 14.51 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.729e-05/0.079, allocations: 80.2 kB / 399.7 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.148e-05/0.07904, allocations: 83.28 kB / 399.7 MB, free: 14.35 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/0.07908, allocations: 105.8 kB / 399.8 MB, free: 14.23 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.07909, allocations: 0 / 399.8 MB, free: 14.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 5.774e-05/0.07915, allocations: 33.55 kB / 399.9 MB, free: 14.2 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.849e-05/0.0792, allocations: 130.6 kB / 400 MB, free: 14.05 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.057e-05/0.07927, allocations: 101.8 kB / 400.1 MB, free: 13.95 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/0.07929, allocations: 25.83 kB / 400.1 MB, free: 13.91 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.498e-05/0.07934, allocations: 92.27 kB / 400.2 MB, free: 13.82 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.204e-06/0.07935, allocations: 0 / 400.2 MB, free: 13.82 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.025e-05/0.07937, allocations: 13.72 kB / 400.2 MB, free: 13.8 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.215e-05/0.07947, allocations: 310.8 kB / 400.5 MB, free: 13.49 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.392e-06/0.07948, allocations: 0 / 400.5 MB, free: 13.49 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.55e-05/0.0795, allocations: 17.72 kB / 400.6 MB, free: 13.46 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.897e-05/0.07953, allocations: 25.66 kB / 400.6 MB, free: 13.43 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.07954, allocations: 0 / 400.6 MB, free: 13.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.218e-05/0.07964, allocations: 37.69 kB / 400.6 MB, free: 13.39 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.07966, allocations: 4 kB / 400.6 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.07966, allocations: 3.938 kB / 400.6 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.925e-06/0.07968, allocations: 0 / 400.6 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.147e-05/0.07972, allocations: 4 kB / 400.6 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.117e-06/0.07973, allocations: 0 / 400.6 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.57e-05/0.07975, allocations: 12.06 kB / 400.6 MB, free: 13.37 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.737e-06/0.07976, allocations: 0 / 400.6 MB, free: 13.37 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.498e-05/0.07985, allocations: 189 kB / 400.8 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.201e-05/0.07991, allocations: 109 kB / 400.9 MB, free: 13.06 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.008e-05/0.07995, allocations: 108 kB / 401 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.569e-05/0.08001, allocations: 176.3 kB / 401.2 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.391e-05/0.08008, allocations: 184.3 kB / 401.4 MB, free: 12.58 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.878e-05/0.08015, allocations: 184.2 kB / 401.6 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000196/0.08035, allocations: 401.2 kB / 402 MB, free: 11.94 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.052e-05/0.08039, allocations: 104.9 kB / 402.1 MB, free: 11.83 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.705e-05/0.08043, allocations: 109 kB / 402.2 MB, free: 11.72 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.356e-05/0.08049, allocations: 188.2 kB / 402.4 MB, free: 11.53 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.634e-05/0.08055, allocations: 180.3 kB / 402.5 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.377e-05/0.08061, allocations: 180.3 kB / 402.7 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.384e-05/0.08068, allocations: 184.2 kB / 402.9 MB, free: 10.97 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001074/0.08079, allocations: 311.9 kB / 403.2 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.071e-05/0.08086, allocations: 186.1 kB / 403.4 MB, free: 10.44 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.782e-05/0.08092, allocations: 176.3 kB / 403.5 MB, free: 10.26 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.258e-05/0.08099, allocations: 108.9 kB / 403.6 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.816e-05/0.08105, allocations: 188.2 kB / 403.8 MB, free: 9.953 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.048e-05/0.08109, allocations: 104.9 kB / 403.9 MB, free: 9.844 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.451e-05/0.08113, allocations: 79.28 kB / 404 MB, free: 9.766 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.08113, allocations: 4.094 kB / 404 MB, free: 9.762 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001926/0.08133, allocations: 4 kB / 404 MB, free: 9.758 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.0002977/0.08163, allocations: 0.8008 MB / 404.8 MB, free: 8.93 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 4.593e-05/0.08168, allocations: 7.938 kB / 404.8 MB, free: 8.922 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.08169, allocations: 4.125 kB / 404.8 MB, free: 8.918 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.052e-06/0.0817, allocations: 0 / 404.8 MB, free: 8.918 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00032/0.08202, allocations: 0.5185 MB / 405.4 MB, free: 8.395 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002642/0.08229, allocations: 175.7 kB / 405.5 MB, free: 8.18 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002041/0.08251, allocations: 0.6731 MB / 406.2 MB, free: 7.48 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.525e-05/0.08253, allocations: 8 kB / 406.2 MB, free: 7.473 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.837e-05/0.08255, allocations: 7.438 kB / 406.2 MB, free: 7.465 MB / 302.1 MB Notification: Performance of SimCode: time 3.2e-07/0.08256, allocations: 0 / 406.2 MB, free: 7.465 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.008705/0.09127, allocations: 0.7116 MB / 406.9 MB, free: 6.812 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001472/0.09143, allocations: 183.6 kB / 407.1 MB, free: 6.562 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.476/1.567, allocations: 0 / 407.1 MB, free: 6.562 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