Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.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.0008534/0.0008534, allocations: 79.7 kB / 20.67 MB, free: 3.895 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.001033/0.001033, allocations: 170 kB / 23.95 MB, free: 0.6172 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.9477/0.9477, allocations: 177.1 MB / 204.2 MB, free: 5.738 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.24/0.24, allocations: 29.4 MB / 290.1 MB, free: 2.461 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.Elementary.Line,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Line,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Line",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 430.2 MB, free: 13.62 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.662e-05/2.862e-05, allocations: 6.219 kB / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.005012/0.005041, allocations: 4.74 MB / 435 MB, free: 8.844 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001971/0.007012, allocations: 1.243 MB / 436.2 MB, free: 7.598 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002826/0.007294, allocations: 23.81 kB / 436.2 MB, free: 7.574 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004718/0.007766, allocations: 119 kB / 436.3 MB, free: 7.457 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006869/0.008453, allocations: 350.1 kB / 436.7 MB, free: 7.113 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004431/0.008896, allocations: 159.6 kB / 436.8 MB, free: 6.957 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006687/0.009565, allocations: 0.6928 MB / 437.5 MB, free: 6.262 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002534/0.009818, allocations: 108.6 kB / 437.6 MB, free: 6.152 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005383/0.01036, allocations: 402.8 kB / 438 MB, free: 5.758 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006146/0.01097, allocations: 419 kB / 438.4 MB, free: 5.348 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001802/0.01115, allocations: 44 kB / 438.5 MB, free: 5.305 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001374/0.01129, allocations: 51.94 kB / 438.5 MB, free: 5.254 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002509/0.01154, allocations: 251.3 kB / 438.8 MB, free: 5.008 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002362/0.01178, allocations: 203.6 kB / 439 MB, free: 4.809 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000652/0.01243, allocations: 0.6075 MB / 439.6 MB, free: 4.199 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.01243, allocations: 0 / 439.6 MB, free: 4.199 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.01244, allocations: 0 / 439.6 MB, free: 4.199 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.626e-05/0.01245, allocations: 0 / 439.6 MB, free: 4.199 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001611/0.01406, allocations: 0.8916 MB / 440.5 MB, free: 3.277 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.01411, allocations: 15.98 kB / 440.5 MB, free: 3.262 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.469e-05/0.01419, allocations: 70.72 kB / 440.6 MB, free: 3.184 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.392e-05/0.01428, allocations: 52.61 kB / 440.6 MB, free: 3.133 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008523/0.01513, allocations: 0.5495 MB / 441.2 MB, free: 2.555 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.767e-05/0.01516, allocations: 28.78 kB / 441.2 MB, free: 2.527 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.335e-05/0.01523, allocations: 47.94 kB / 441.2 MB, free: 2.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005901/0.01582, allocations: 0.5441 MB / 441.8 MB, free: 1.906 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.01584, allocations: 4 kB / 441.8 MB, free: 1.902 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.735e-05/0.01587, allocations: 8 kB / 441.8 MB, free: 1.895 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001989/0.01606, allocations: 88.52 kB / 441.9 MB, free: 1.809 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004496/0.01651, allocations: 358.3 kB / 442.2 MB, free: 1.457 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1986/0.2151, allocations: 1.923 MB / 444.2 MB, free: 53.62 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005906/0.2157, allocations: 369.8 kB / 444.5 MB, free: 53.58 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003581/0.2161, allocations: 320.4 kB / 444.8 MB, free: 53.56 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.44e-05/0.2161, allocations: 4.938 kB / 444.8 MB, free: 53.56 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.2161, allocations: 43.62 kB / 444.9 MB, free: 53.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 3.477e-06/0.2161, allocations: 0 / 444.9 MB, free: 53.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.002383/0.2185, allocations: 1.953 MB / 446.8 MB, free: 52.99 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.253e-05/0.2186, allocations: 83.55 kB / 446.9 MB, free: 52.9 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002371/0.2188, allocations: 383.1 kB / 447.3 MB, free: 52.71 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.2188, allocations: 36.83 kB / 447.3 MB, free: 52.68 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.015e-05/0.2189, allocations: 248.2 kB / 447.6 MB, free: 52.49 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.865e-05/0.219, allocations: 143.4 kB / 447.7 MB, free: 52.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.46e-05/0.219, allocations: 97.66 kB / 447.8 MB, free: 52.35 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.937e-05/0.2191, allocations: 363 kB / 448.2 MB, free: 52.02 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001973/0.2193, allocations: 242.1 kB / 448.4 MB, free: 51.95 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002377/0.2195, allocations: 372.6 kB / 448.8 MB, free: 51.76 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004518/0.22, allocations: 0.6187 MB / 449.4 MB, free: 51.47 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.22, allocations: 0 / 449.4 MB, free: 51.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0009103/0.2209, allocations: 1.019 MB / 450.4 MB, free: 51.15 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.6e-05/0.2209, allocations: 6.438 kB / 450.4 MB, free: 51.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.2209, allocations: 4.844 kB / 450.4 MB, free: 51.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005906/0.2215, allocations: 405.3 kB / 450.8 MB, free: 51.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001639/0.2217, allocations: 89.84 kB / 450.9 MB, free: 51.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002742/0.2244, allocations: 4.899 MB / 455.8 MB, free: 47.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001946/0.2246, allocations: 41.23 kB / 455.8 MB, free: 47.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.347e-05/0.2246, allocations: 22.56 kB / 455.8 MB, free: 47.71 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * 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 initialization (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001789/0.2248, allocations: 204.3 kB / 456 MB, free: 47.56 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.445e-05/0.2249, allocations: 43 kB / 456.1 MB, free: 47.54 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007811/0.2256, allocations: 0.8297 MB / 456.9 MB, free: 47.23 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.2257, allocations: 4.234 kB / 456.9 MB, free: 47.23 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.2257, allocations: 3.062 kB / 456.9 MB, free: 47.23 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/0.2257, allocations: 3.719 kB / 456.9 MB, free: 47.23 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001139/0.2268, allocations: 1.331 MB / 458.3 MB, free: 46.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.2268, allocations: 9.234 kB / 458.3 MB, free: 46.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.061e-05/0.2269, allocations: 36.38 kB / 458.3 MB, free: 46.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005611/0.2275, allocations: 441.7 kB / 458.7 MB, free: 46.51 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.674e-05/0.2275, allocations: 43.81 kB / 458.8 MB, free: 46.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002381/0.2299, allocations: 6.282 MB / 465.1 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.2299, allocations: 3.219 kB / 465.1 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009252/0.2308, allocations: 1.109 MB / 466.2 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.472e-05/0.2308, allocations: 44.48 kB / 466.2 MB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.279e-05/0.2309, allocations: 31.72 kB / 466.2 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.231, allocations: 40.27 kB / 466.3 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.048e-05/0.2311, allocations: 35.91 kB / 466.3 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-05/0.2311, allocations: 9.797 kB / 466.3 MB, free: 40.65 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001641/0.2313, allocations: 264.4 kB / 466.6 MB, free: 40.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2313, allocations: 0 / 466.6 MB, free: 40.52 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004548/0.2317, allocations: 163.6 kB / 466.7 MB, free: 40.5 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4]) * 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 (29): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00113/0.2329, allocations: 1.68 MB / 468.4 MB, free: 39.49 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009846/0.2339, allocations: 0.8767 MB / 469.3 MB, free: 39.11 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.2339, allocations: 0.5469 kB / 469.3 MB, free: 39.11 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006635/0.2345, allocations: 0.8561 MB / 470.2 MB, free: 38.55 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004606/0.235, allocations: 128.2 kB / 470.3 MB, free: 38.51 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005024/0.24, allocations: 6.01 MB / 476.3 MB, free: 35.46 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001932/0.2402, allocations: 281.2 kB / 476.6 MB, free: 35.36 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001701/0.2404, allocations: 75.61 kB / 476.6 MB, free: 35.34 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001693/0.2405, allocations: 154.7 kB / 476.8 MB, free: 35.23 MB / 410.7 MB Notification: Performance of SimCode: time 2.234e-06/0.2405, allocations: 0 / 476.8 MB, free: 35.23 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0367/0.2772, allocations: 13.85 MB / 490.6 MB, free: 33.39 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.062/7.339, allocations: 1.062 kB / 490.6 MB, free: 33.39 MB / 410.7 MB " [Timeout remaining time 653] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Line_fmu --startTime=0 --stopTime=0.2 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Line.fmu > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Line.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.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.62898291181773]