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.001152/0.001152, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001181/0.001181, allocations: 195.4 kB / 16.14 MB, free: 6.703 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.157/1.157, allocations: 205.1 MB / 222 MB, free: 4.977 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05561/0.05561, allocations: 14.16 MB / 283.5 MB, free: 7.535 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.001208/0.001208, allocations: 63.89 kB / 344.5 MB, free: 19.78 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06947/0.07068, allocations: 50.13 MB / 394.6 MB, free: 1.613 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001364/0.07208, allocations: 0.5478 MB / 395.2 MB, free: 1.066 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002812/0.07237, allocations: 122 kB / 395.3 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.017e-06/0.07239, allocations: 4 kB / 395.3 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.385e-05/0.07242, allocations: 0 / 395.3 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001791/0.0726, allocations: 19.98 kB / 395.3 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.687e-06/0.07261, allocations: 0 / 395.3 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 1.826e-05/0.07263, allocations: 3.938 kB / 395.3 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.331e-05/0.07267, allocations: 4 kB / 395.3 MB, free: 0.918 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.438e-06/0.07269, allocations: 0 / 395.3 MB, free: 0.918 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.468e-05/0.07278, allocations: 23.92 kB / 395.3 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.626e-06/0.0728, allocations: 3.938 kB / 395.3 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.464e-06/0.0728, allocations: 0 / 395.3 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.33e-06/0.07281, allocations: 0 / 395.3 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.466e-06/0.07282, allocations: 0 / 395.3 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 2.063e-05/0.07285, allocations: 0 / 395.3 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.07285, allocations: 0 / 395.3 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.01e-07/0.07286, allocations: 0 / 395.3 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.455e-06/0.07286, allocations: 0 / 395.3 MB, free: 0.8906 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.0002262/0.0731, allocations: 315.6 kB / 395.6 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.07314, allocations: 12.03 kB / 395.7 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.831e-05/0.07317, allocations: 34.75 kB / 395.7 MB, free: 488 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.415e-05/0.07319, allocations: 0.9375 kB / 395.7 MB, free: 488 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.058e-05/0.07327, allocations: 160.4 kB / 395.9 MB, free: 288 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-06/0.07329, allocations: 4.375 kB / 395.9 MB, free: 284 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.779e-06/0.0733, allocations: 384 / 395.9 MB, free: 284 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.759e-05/0.07338, allocations: 47.91 kB / 395.9 MB, free: 224 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.07339, allocations: 3.938 kB / 395.9 MB, free: 220 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.971e-06/0.0734, allocations: 4 kB / 395.9 MB, free: 216 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.07341, allocations: 3.938 kB / 395.9 MB, free: 212 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.394e-05/0.07343, allocations: 4 kB / 395.9 MB, free: 208 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002923/0.07372, allocations: 471.6 kB / 396.4 MB, free: 15.69 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.175e-05/0.0738, allocations: 169.1 kB / 396.5 MB, free: 15.51 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.174e-05/0.07383, allocations: 80.14 kB / 396.6 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.07386, allocations: 79.31 kB / 396.7 MB, free: 15.35 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.07389, allocations: 105.8 kB / 396.8 MB, free: 15.24 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 8.31e-07/0.0739, allocations: 0 / 396.8 MB, free: 15.24 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 6.171e-05/0.07397, allocations: 33.55 kB / 396.8 MB, free: 15.2 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.565e-05/0.07402, allocations: 126.7 kB / 397 MB, free: 15.06 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.751e-05/0.07409, allocations: 105.8 kB / 397.1 MB, free: 14.95 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.017e-05/0.07411, allocations: 25.7 kB / 397.1 MB, free: 14.92 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.291e-05/0.07414, allocations: 88.27 kB / 397.2 MB, free: 14.83 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.953e-06/0.07415, allocations: 0 / 397.2 MB, free: 14.83 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.423e-05/0.07418, allocations: 13.72 kB / 397.2 MB, free: 14.81 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.396e-05/0.07428, allocations: 314.8 kB / 397.5 MB, free: 14.49 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.724e-06/0.07429, allocations: 4 kB / 397.5 MB, free: 14.49 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.21e-05/0.07431, allocations: 17.83 kB / 397.5 MB, free: 14.46 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.587e-05/0.07434, allocations: 21.59 kB / 397.5 MB, free: 14.44 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.07434, allocations: 0 / 397.5 MB, free: 14.44 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.226e-05/0.07442, allocations: 37.7 kB / 397.6 MB, free: 14.39 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.658e-06/0.07444, allocations: 4 kB / 397.6 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.725e-06/0.07444, allocations: 4 kB / 397.6 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.027e-06/0.07446, allocations: 4.125 kB / 397.6 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.682e-05/0.0745, allocations: 11.88 kB / 397.6 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.07451, allocations: 3.984 kB / 397.6 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.059e-05/0.07453, allocations: 0 / 397.6 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.547e-06/0.07454, allocations: 0 / 397.6 MB, free: 14.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 7.264e-05/0.07461, allocations: 193 kB / 397.8 MB, free: 14.17 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.713e-05/0.07466, allocations: 105 kB / 397.9 MB, free: 14.06 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.263e-05/0.07471, allocations: 112 kB / 398 MB, free: 13.94 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-05/0.07477, allocations: 180.3 kB / 398.2 MB, free: 13.76 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.705e-05/0.07482, allocations: 180.2 kB / 398.4 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.221e-05/0.07488, allocations: 180.2 kB / 398.5 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001869/0.07507, allocations: 409.2 kB / 398.9 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-05/0.0751, allocations: 108.9 kB / 399 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.279e-05/0.07514, allocations: 108.9 kB / 399.1 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.844e-05/0.07521, allocations: 176.3 kB / 399.3 MB, free: 12.53 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.403e-05/0.07527, allocations: 192.2 kB / 399.5 MB, free: 12.33 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.03e-05/0.07532, allocations: 176.3 kB / 399.7 MB, free: 12.15 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.218e-05/0.07538, allocations: 184.2 kB / 399.9 MB, free: 11.96 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001043/0.07549, allocations: 311.9 kB / 400.2 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.933e-05/0.07555, allocations: 182.1 kB / 400.3 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.419e-05/0.07562, allocations: 188.2 kB / 400.5 MB, free: 11.24 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.358e-05/0.07569, allocations: 104.9 kB / 400.6 MB, free: 11.13 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.553e-05/0.07575, allocations: 176.3 kB / 400.8 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.48e-05/0.07579, allocations: 108.9 kB / 400.9 MB, free: 10.84 MB / 302.1 MB Notification: Performance of sorting global known variables: time 2.702e-05/0.07582, allocations: 79.28 kB / 401 MB, free: 10.76 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.07583, allocations: 0 / 401 MB, free: 10.76 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001894/0.07602, allocations: 0 / 401 MB, free: 10.76 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.0002871/0.07631, allocations: 0.8087 MB / 401.8 MB, free: 9.926 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 4.326e-05/0.07636, allocations: 7.938 kB / 401.8 MB, free: 9.918 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.07637, allocations: 0 / 401.8 MB, free: 9.918 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.042e-06/0.07637, allocations: 0 / 401.8 MB, free: 9.918 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000313/0.07669, allocations: 0.5185 MB / 402.3 MB, free: 9.395 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002535/0.07695, allocations: 183.8 kB / 402.5 MB, free: 9.172 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001907/0.07715, allocations: 0.6692 MB / 403.2 MB, free: 8.477 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.37e-05/0.07717, allocations: 7.844 kB / 403.2 MB, free: 8.469 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.497e-05/0.07719, allocations: 7.438 kB / 403.2 MB, free: 8.461 MB / 302.1 MB Notification: Performance of SimCode: time 3.1e-07/0.07719, allocations: 0 / 403.2 MB, free: 8.461 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.008595/0.08579, allocations: 0.769 MB / 403.9 MB, free: 7.723 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001944/0.086, allocations: 188.8 kB / 404.1 MB, free: 7.465 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.467/1.553, allocations: 0 / 404.1 MB, free: 7.465 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