Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009117/0.0009117, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 170.3 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9201/0.9201, allocations: 177.1 MB / 204.3 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.2391/0.2391, allocations: 29.41 MB / 290.1 MB, free: 2.453 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 430.2 MB, free: 13.62 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.883e-05/2.011e-05, allocations: 6.219 kB / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.00441/0.00443, allocations: 5.281 MB / 435.5 MB, free: 8.305 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001706/0.006136, allocations: 1.266 MB / 436.8 MB, free: 7.035 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002315/0.006368, allocations: 27.75 kB / 436.8 MB, free: 7.008 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004135/0.006781, allocations: 123 kB / 436.9 MB, free: 6.887 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007005/0.007482, allocations: 397.8 kB / 437.3 MB, free: 6.496 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002392/0.007721, allocations: 139.7 kB / 437.4 MB, free: 6.359 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005667/0.008288, allocations: 0.7746 MB / 438.2 MB, free: 5.582 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002033/0.008491, allocations: 124.7 kB / 438.3 MB, free: 5.453 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005698/0.009061, allocations: 466.5 kB / 438.8 MB, free: 4.996 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004191/0.00948, allocations: 355 kB / 439.1 MB, free: 4.648 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.375e-05/0.009524, allocations: 40 kB / 439.2 MB, free: 4.609 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.931e-05/0.009583, allocations: 36 kB / 439.2 MB, free: 4.574 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001336/0.009717, allocations: 203.4 kB / 439.4 MB, free: 4.375 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001336/0.00985, allocations: 171.6 kB / 439.6 MB, free: 4.207 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004513/0.0103, allocations: 0.5217 MB / 440.1 MB, free: 3.684 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.01031, allocations: 0 / 440.1 MB, free: 3.684 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.01031, allocations: 0 / 440.1 MB, free: 3.684 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.01032, allocations: 4 kB / 440.1 MB, free: 3.68 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.0009074/0.01122, allocations: 0.7367 MB / 440.8 MB, free: 2.906 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.01126, allocations: 11.98 kB / 440.8 MB, free: 2.895 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.437e-05/0.01133, allocations: 86.7 kB / 440.9 MB, free: 2.801 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.083e-05/0.01139, allocations: 56.61 kB / 441 MB, free: 2.746 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000521/0.01191, allocations: 420.8 kB / 441.4 MB, free: 2.312 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.01193, allocations: 29.38 kB / 441.4 MB, free: 2.285 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.498e-05/0.01197, allocations: 40.12 kB / 441.5 MB, free: 2.246 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004686/0.01244, allocations: 0.4961 MB / 442 MB, free: 1.715 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.01245, allocations: 3.984 kB / 442 MB, free: 1.711 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.397e-05/0.01248, allocations: 20 kB / 442 MB, free: 1.691 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.166e-05/0.01251, allocations: 25 kB / 442 MB, free: 1.664 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003651/0.01288, allocations: 359.7 kB / 442.4 MB, free: 1.316 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.161/0.1739, allocations: 1.899 MB / 444.2 MB, free: 53.8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003511/0.1743, allocations: 231.2 kB / 444.5 MB, free: 53.75 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000156/0.1744, allocations: 114.1 kB / 444.6 MB, free: 53.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.1744, allocations: 4.719 kB / 444.6 MB, free: 53.73 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.1745, allocations: 40.67 kB / 444.6 MB, free: 53.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 2.945e-06/0.1745, allocations: 0 / 444.6 MB, free: 53.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=23): time 0.0008559/0.1753, allocations: 0.6956 MB / 445.3 MB, free: 53.46 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.842e-05/0.1753, allocations: 81.42 kB / 445.4 MB, free: 53.37 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000228/0.1756, allocations: 397.3 kB / 445.8 MB, free: 53.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.247e-06/0.1756, allocations: 31.45 kB / 445.8 MB, free: 53.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.556e-05/0.1757, allocations: 296.3 kB / 446.1 MB, free: 52.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.845e-05/0.1757, allocations: 82.77 kB / 446.2 MB, free: 52.92 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.943e-05/0.1758, allocations: 81.55 kB / 446.3 MB, free: 52.87 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.98e-05/0.1758, allocations: 350.5 kB / 446.6 MB, free: 52.54 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.103e-05/0.1759, allocations: 88.69 kB / 446.7 MB, free: 52.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.176, allocations: 273.8 kB / 447 MB, free: 52.26 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002279/0.1762, allocations: 402 kB / 447.4 MB, free: 51.93 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.1762, allocations: 2.844 kB / 447.4 MB, free: 51.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0003994/0.1766, allocations: 455.6 kB / 447.8 MB, free: 51.74 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.1766, allocations: 9.219 kB / 447.8 MB, free: 51.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.1766, allocations: 6.469 kB / 447.8 MB, free: 51.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001405/0.1768, allocations: 60.36 kB / 447.9 MB, free: 51.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/0.1769, allocations: 85.53 kB / 448 MB, free: 51.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006879/0.1776, allocations: 1.501 MB / 449.5 MB, free: 50.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001245/0.1777, allocations: 17 kB / 449.5 MB, free: 50.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.1778, allocations: 23.22 kB / 449.5 MB, free: 50.33 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001235/0.1779, allocations: 202.7 kB / 449.7 MB, free: 50.18 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.926e-05/0.1779, allocations: 37.73 kB / 449.7 MB, free: 50.16 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001963/0.1781, allocations: 247.1 kB / 450 MB, free: 50.04 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.1781, allocations: 3.156 kB / 450 MB, free: 50.04 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-06/0.1781, allocations: 3.5 kB / 450 MB, free: 50.04 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1781, allocations: 0 / 450 MB, free: 50.04 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004928/0.1786, allocations: 0.6431 MB / 450.6 MB, free: 49.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.1786, allocations: 7.344 kB / 450.6 MB, free: 49.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001613/0.1788, allocations: 46.12 kB / 450.7 MB, free: 49.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.1788, allocations: 2.516 kB / 450.7 MB, free: 49.61 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.1788, allocations: 12.47 kB / 450.7 MB, free: 49.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.1788, allocations: 3.25 kB / 450.7 MB, free: 49.61 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.1788, allocations: 3.938 kB / 450.7 MB, free: 49.61 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002716/0.1791, allocations: 425.3 kB / 451.1 MB, free: 49.34 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.4e-05/0.1791, allocations: 54.8 kB / 451.2 MB, free: 49.31 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.1791, allocations: 2.719 kB / 451.2 MB, free: 49.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.489e-05/0.1792, allocations: 7.188 kB / 451.2 MB, free: 49.31 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.333e-05/0.1792, allocations: 17.2 kB / 451.2 MB, free: 49.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.1792, allocations: 6.75 kB / 451.2 MB, free: 49.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001372/0.1794, allocations: 257.2 kB / 451.5 MB, free: 49.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1794, allocations: 6.844 kB / 451.5 MB, free: 49.17 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002718/0.1797, allocations: 84.53 kB / 451.6 MB, free: 49.16 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (trafo.i1) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0003465/0.18, allocations: 0.9653 MB / 452.5 MB, free: 48.37 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003637/0.1804, allocations: 375.3 kB / 452.9 MB, free: 48.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1804, allocations: 0 / 452.9 MB, free: 48.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.247e-05/0.1804, allocations: 88.81 kB / 453 MB, free: 48.15 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003754/0.1808, allocations: 92.98 kB / 453.1 MB, free: 48.12 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00242/0.1832, allocations: 3.663 MB / 456.7 MB, free: 45.67 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001428/0.1834, allocations: 250.7 kB / 457 MB, free: 45.57 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001465/0.1835, allocations: 85.42 kB / 457.1 MB, free: 45.55 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/0.1836, allocations: 150.8 kB / 457.2 MB, free: 45.44 MB / 410.7 MB Notification: Performance of SimCode: time 9.22e-07/0.1836, allocations: 0 / 457.2 MB, free: 45.44 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02272/0.2063, allocations: 8.539 MB / 465.7 MB, free: 43.97 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.945/7.151, allocations: 7.859 kB / 465.7 MB, free: 43.96 MB / 410.7 MB " [Timeout remaining time 653] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase.fmu > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.08951252233237]