Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.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.001163/0.001163, 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.001313/0.001313, allocations: 170 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.9323/0.9323, allocations: 177.1 MB / 204.3 MB, free: 5.727 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.2281/0.2281, allocations: 29.42 MB / 290.1 MB, free: 2.43 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.AC3ph.Generation.PVsource,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_PVsource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PVsource,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_PVsource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.684e-06/1.684e-06, allocations: 0 / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.142e-05/2.31e-05, allocations: 4.25 kB / 430.2 MB, free: 13.58 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.004664/0.004687, allocations: 4.479 MB / 434.7 MB, free: 9.074 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001847/0.006535, allocations: 1.262 MB / 436 MB, free: 7.809 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002081/0.006743, allocations: 19.81 kB / 436 MB, free: 7.789 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008486/0.007591, allocations: 398.3 kB / 436.4 MB, free: 7.398 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005243/0.008116, allocations: 262.4 kB / 436.6 MB, free: 7.141 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004557/0.008571, allocations: 175.4 kB / 436.8 MB, free: 6.969 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006165/0.009188, allocations: 0.5683 MB / 437.4 MB, free: 6.398 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005378/0.009726, allocations: 241.5 kB / 437.6 MB, free: 6.16 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007301/0.01046, allocations: 350.9 kB / 437.9 MB, free: 5.816 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005775/0.01103, allocations: 259.3 kB / 438.2 MB, free: 5.562 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.062e-05/0.01109, allocations: 32 kB / 438.2 MB, free: 5.531 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000373/0.01147, allocations: 135.6 kB / 438.4 MB, free: 5.398 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002313/0.0117, allocations: 191.5 kB / 438.5 MB, free: 5.211 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001605/0.01186, allocations: 155.7 kB / 438.7 MB, free: 5.059 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000656/0.01251, allocations: 0.5179 MB / 439.2 MB, free: 4.539 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.01252, allocations: 0 / 439.2 MB, free: 4.539 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.01252, allocations: 0 / 439.2 MB, free: 4.539 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.457e-05/0.01254, allocations: 0 / 439.2 MB, free: 4.539 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001186/0.01372, allocations: 0.6272 MB / 439.8 MB, free: 3.883 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.01377, allocations: 11.98 kB / 439.8 MB, free: 3.871 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.396e-05/0.01385, allocations: 78.72 kB / 439.9 MB, free: 3.785 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000434/0.01428, allocations: 88.59 kB / 440 MB, free: 3.699 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006187/0.0149, allocations: 351.9 kB / 440.4 MB, free: 3.32 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.653e-05/0.01492, allocations: 25.36 kB / 440.4 MB, free: 3.297 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001286/0.01505, allocations: 44.7 kB / 440.4 MB, free: 3.254 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005549/0.01561, allocations: 476.7 kB / 440.9 MB, free: 2.762 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.01562, allocations: 4 kB / 440.9 MB, free: 2.758 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.879e-05/0.01565, allocations: 19.98 kB / 440.9 MB, free: 2.738 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.486e-05/0.01573, allocations: 24.98 kB / 440.9 MB, free: 2.715 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003856/0.01611, allocations: 335.7 kB / 441.3 MB, free: 2.387 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001521/0.01764, allocations: 1.456 MB / 442.7 MB, free: 0.8516 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002367/0.01787, allocations: 137.1 kB / 442.9 MB, free: 0.6992 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.01798, allocations: 101.7 kB / 443 MB, free: 0.5938 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.726e-05/0.018, allocations: 0 / 443 MB, free: 0.5938 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.01802, allocations: 38.56 kB / 443 MB, free: 0.5469 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 2.534e-06/0.01803, allocations: 3.984 kB / 443 MB, free: 0.543 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.1722/0.1902, allocations: 0.7135 MB / 443.7 MB, free: 54.68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/0.1902, allocations: 77.11 kB / 443.8 MB, free: 54.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002075/0.1904, allocations: 315.2 kB / 444.1 MB, free: 54.48 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.1904, allocations: 30.14 kB / 444.1 MB, free: 54.45 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.965e-05/0.1905, allocations: 256.9 kB / 444.4 MB, free: 54.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.199e-05/0.1906, allocations: 67.02 kB / 444.4 MB, free: 54.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.714e-05/0.1906, allocations: 62.92 kB / 444.5 MB, free: 54.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.801e-05/0.1907, allocations: 340.6 kB / 444.8 MB, free: 53.94 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.344e-05/0.1907, allocations: 94.53 kB / 444.9 MB, free: 53.94 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001037/0.1908, allocations: 186.8 kB / 445.1 MB, free: 53.82 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002098/0.1911, allocations: 321.6 kB / 445.4 MB, free: 53.66 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1911, allocations: 3.75 kB / 445.4 MB, free: 53.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004683/0.1915, allocations: 452.4 kB / 445.9 MB, free: 53.49 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.1915, allocations: 10.09 kB / 445.9 MB, free: 53.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002835/0.1918, allocations: 286 kB / 446.2 MB, free: 53.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002704/0.1921, allocations: 131.7 kB / 446.3 MB, free: 53.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.1922, allocations: 54.83 kB / 446.3 MB, free: 53.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001435/0.1936, allocations: 2.248 MB / 448.6 MB, free: 51.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001206/0.1938, allocations: 13.92 kB / 448.6 MB, free: 51.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.1938, allocations: 16.72 kB / 448.6 MB, free: 51.65 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 (29): * Single equations (assignments): 28 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001319/0.1939, allocations: 188.1 kB / 448.8 MB, free: 51.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.029e-05/0.1939, allocations: 31.72 kB / 448.8 MB, free: 51.48 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002362/0.1942, allocations: 259.7 kB / 449.1 MB, free: 51.36 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.1942, allocations: 0 / 449.1 MB, free: 51.36 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.1942, allocations: 3 kB / 449.1 MB, free: 51.36 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.686e-06/0.1942, allocations: 0.6562 kB / 449.1 MB, free: 51.36 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005857/0.1948, allocations: 0.6639 MB / 449.8 MB, free: 50.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.1948, allocations: 2.906 kB / 449.8 MB, free: 50.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/0.1949, allocations: 53.97 kB / 449.8 MB, free: 50.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.606e-05/0.1949, allocations: 34 kB / 449.8 MB, free: 50.92 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.1949, allocations: 3.031 kB / 449.8 MB, free: 50.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006171/0.1956, allocations: 1.481 MB / 451.3 MB, free: 49.55 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1956, allocations: 0.9375 kB / 451.3 MB, free: 49.55 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003603/0.1959, allocations: 431.6 kB / 451.7 MB, free: 49.28 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.452e-05/0.196, allocations: 26.09 kB / 451.8 MB, free: 49.27 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.807e-05/0.196, allocations: 10.84 kB / 451.8 MB, free: 49.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/0.1961, allocations: 13.31 kB / 451.8 MB, free: 49.25 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.975e-05/0.1961, allocations: 13.56 kB / 451.8 MB, free: 49.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.1961, allocations: 3.469 kB / 451.8 MB, free: 49.25 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001454/0.1963, allocations: 220.2 kB / 452 MB, free: 49.13 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1963, allocations: 0 / 452 MB, free: 49.13 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004593/0.1967, allocations: 87.25 kB / 452.1 MB, free: 49.13 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005146/0.1973, allocations: 0.9573 MB / 453.1 MB, free: 48.33 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005459/0.1978, allocations: 385 kB / 453.4 MB, free: 48.14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1978, allocations: 0 / 453.4 MB, free: 48.14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002164/0.198, allocations: 229.8 kB / 453.7 MB, free: 47.99 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004515/0.1985, allocations: 55.97 kB / 453.7 MB, free: 47.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002999/0.2015, allocations: 3.435 MB / 457.2 MB, free: 45.75 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002003/0.2017, allocations: 244.6 kB / 457.4 MB, free: 45.64 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001584/0.2018, allocations: 63.16 kB / 457.5 MB, free: 45.64 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001395/0.202, allocations: 122.8 kB / 457.6 MB, free: 45.55 MB / 410.7 MB Notification: Performance of SimCode: time 7.72e-07/0.202, allocations: 0 / 457.6 MB, free: 45.55 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0237/0.2257, allocations: 8.214 MB / 465.8 MB, free: 44.12 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.794/8.02, allocations: 4.625 kB / 465.8 MB, free: 44.12 MB / 410.7 MB " [Timeout remaining time 652] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.sim & python3 -m fmpy simulate --output-file PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_PVsource.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.PVsource.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource_res.csv. Warning: Get data of variable Time from file PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource_res.csv failed! Error: Could not read variable sensor.p[1] in file PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource_res.csv. Warning: Get data of variable sensor.p[1] from file PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource_res.csv failed! Error: Could not read variable sensor.p[2] in file PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource_res.csv. Warning: Get data of variable sensor.p[2] from file PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource_res.csv failed! Error: Could not read variable sensor.p[3] in file PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource_res.csv. Warning: Get data of variable sensor.p[3] from file PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.066743714734912]