Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.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.0009919/0.0009919, allocations: 79.69 kB / 20.67 MB, free: 3.891 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.001172/0.001172, allocations: 170 kB / 23.95 MB, free: 0.6133 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.9275/0.9275, allocations: 177.1 MB / 204.3 MB, free: 5.723 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.2421/0.2421, allocations: 29.41 MB / 290.1 MB, free: 2.465 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.PQsource,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_PQsource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PQsource,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_PQsource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.232e-05/2.392e-05, allocations: 2.844 kB / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.004152/0.004176, allocations: 4.466 MB / 434.7 MB, free: 9.105 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001408/0.005584, allocations: 1.258 MB / 435.9 MB, free: 7.844 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001457/0.005729, allocations: 15.88 kB / 435.9 MB, free: 7.828 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006565/0.006386, allocations: 402.2 kB / 436.3 MB, free: 7.434 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003345/0.00672, allocations: 258.4 kB / 436.6 MB, free: 7.18 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002993/0.00702, allocations: 167.5 kB / 436.8 MB, free: 7.016 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004815/0.007501, allocations: 0.58 MB / 437.3 MB, free: 6.434 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002742/0.007775, allocations: 225.5 kB / 437.6 MB, free: 6.211 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003119/0.008087, allocations: 350.9 kB / 437.9 MB, free: 5.867 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002726/0.00836, allocations: 271.2 kB / 438.2 MB, free: 5.602 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.2e-05/0.008392, allocations: 31.94 kB / 438.2 MB, free: 5.57 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001651/0.008557, allocations: 135.6 kB / 438.3 MB, free: 5.438 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001231/0.00868, allocations: 207.5 kB / 438.5 MB, free: 5.234 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001024/0.008782, allocations: 151.7 kB / 438.7 MB, free: 5.086 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000364/0.009146, allocations: 0.514 MB / 439.2 MB, free: 4.57 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.009148, allocations: 0 / 439.2 MB, free: 4.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.009149, allocations: 0 / 439.2 MB, free: 4.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.009154, allocations: 0 / 439.2 MB, free: 4.57 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.0007197/0.009874, allocations: 0.6349 MB / 439.8 MB, free: 3.906 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.009909, allocations: 11.98 kB / 439.8 MB, free: 3.895 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.449e-05/0.009964, allocations: 82.72 kB / 439.9 MB, free: 3.805 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003102/0.01027, allocations: 84.59 kB / 440 MB, free: 3.723 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003916/0.01067, allocations: 340 kB / 440.3 MB, free: 3.355 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.01068, allocations: 29.36 kB / 440.4 MB, free: 3.328 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.309e-05/0.01077, allocations: 40.73 kB / 440.4 MB, free: 3.289 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000686/0.01145, allocations: 488.7 kB / 440.9 MB, free: 2.785 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.01147, allocations: 3.953 kB / 440.9 MB, free: 2.781 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.207e-05/0.01149, allocations: 15.98 kB / 440.9 MB, free: 2.766 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-05/0.01155, allocations: 28.98 kB / 440.9 MB, free: 2.738 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003391/0.01189, allocations: 355.6 kB / 441.3 MB, free: 2.391 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001703/0.01359, allocations: 1.471 MB / 442.7 MB, free: 0.8398 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002287/0.01382, allocations: 137.2 kB / 442.9 MB, free: 0.6875 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.01392, allocations: 109.7 kB / 443 MB, free: 0.5742 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/0.01393, allocations: 4 kB / 443 MB, free: 0.5703 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/0.01396, allocations: 38.84 kB / 443 MB, free: 0.5234 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 2.074e-06/0.01396, allocations: 0 / 443 MB, free: 0.5234 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.1646/0.1786, allocations: 0.7456 MB / 443.8 MB, free: 54.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.338e-05/0.1787, allocations: 77.11 kB / 443.9 MB, free: 54.57 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002346/0.1789, allocations: 314.6 kB / 444.2 MB, free: 54.46 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.1789, allocations: 30.27 kB / 444.2 MB, free: 54.43 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.605e-05/0.179, allocations: 258.3 kB / 444.4 MB, free: 54.29 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.657e-05/0.179, allocations: 69.75 kB / 444.5 MB, free: 54.26 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.244e-05/0.1791, allocations: 58.73 kB / 444.6 MB, free: 54.23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.412e-05/0.1791, allocations: 341.3 kB / 444.9 MB, free: 53.92 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.631e-05/0.1792, allocations: 99.3 kB / 445 MB, free: 53.92 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001121/0.1793, allocations: 196.6 kB / 445.2 MB, free: 53.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002213/0.1796, allocations: 337.5 kB / 445.5 MB, free: 53.63 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1796, allocations: 0.5 kB / 445.5 MB, free: 53.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005244/0.1801, allocations: 477.3 kB / 446 MB, free: 53.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.1801, allocations: 7.719 kB / 446 MB, free: 53.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003088/0.1804, allocations: 309.8 kB / 446.3 MB, free: 53.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003011/0.1807, allocations: 135.5 kB / 446.4 MB, free: 53.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.1809, allocations: 57.5 kB / 446.5 MB, free: 53.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001602/0.1825, allocations: 2.314 MB / 448.8 MB, free: 51.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001346/0.1826, allocations: 13.88 kB / 448.8 MB, free: 51.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.537e-05/0.1826, allocations: 17.38 kB / 448.8 MB, free: 51.58 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.0001575/0.1828, allocations: 188.1 kB / 449 MB, free: 51.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.544e-05/0.1828, allocations: 33.91 kB / 449 MB, free: 51.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002785/0.1831, allocations: 265.3 kB / 449.3 MB, free: 51.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.1831, allocations: 6.109 kB / 449.3 MB, free: 51.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1831, allocations: 4.594 kB / 449.3 MB, free: 51.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.1831, allocations: 3.422 kB / 449.3 MB, free: 51.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006626/0.1838, allocations: 0.6866 MB / 450 MB, free: 50.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.1838, allocations: 3.312 kB / 450 MB, free: 50.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001229/0.1839, allocations: 32.08 kB / 450 MB, free: 50.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.397e-05/0.184, allocations: 41.88 kB / 450.1 MB, free: 50.84 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.184, allocations: 7.125 kB / 450.1 MB, free: 50.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.187e-06/0.184, allocations: 7.25 kB / 450.1 MB, free: 50.84 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.184, allocations: 0 / 450.1 MB, free: 50.84 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003027/0.1843, allocations: 449.4 kB / 450.5 MB, free: 50.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.264e-05/0.1843, allocations: 22.31 kB / 450.6 MB, free: 50.55 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.07e-05/0.1843, allocations: 7.375 kB / 450.6 MB, free: 50.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.255e-05/0.1844, allocations: 10.19 kB / 450.6 MB, free: 50.55 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.619e-05/0.1844, allocations: 24.48 kB / 450.6 MB, free: 50.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.1844, allocations: 3.312 kB / 450.6 MB, free: 50.54 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001121/0.1845, allocations: 226.9 kB / 450.8 MB, free: 50.42 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1845, allocations: 3.469 kB / 450.8 MB, free: 50.42 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002941/0.1848, allocations: 84.78 kB / 450.9 MB, free: 50.41 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): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004122/0.1853, allocations: 0.9802 MB / 451.9 MB, free: 49.62 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004154/0.1857, allocations: 400.1 kB / 452.3 MB, free: 49.42 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1857, allocations: 3.938 kB / 452.3 MB, free: 49.42 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001124/0.1858, allocations: 97.19 kB / 452.4 MB, free: 49.38 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003277/0.1861, allocations: 61.31 kB / 452.4 MB, free: 49.36 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002455/0.1886, allocations: 3.486 MB / 455.9 MB, free: 47.12 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000137/0.1887, allocations: 240 kB / 456.2 MB, free: 47.02 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001058/0.1888, allocations: 62.89 kB / 456.2 MB, free: 47.02 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.1889, allocations: 125.4 kB / 456.3 MB, free: 46.92 MB / 410.7 MB Notification: Performance of SimCode: time 9.72e-07/0.1889, allocations: 0 / 456.3 MB, free: 46.92 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02696/0.2159, allocations: 8.062 MB / 464.4 MB, free: 45.49 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.159/8.375, allocations: 10.03 kB / 464.4 MB, free: 45.49 MB / 410.7 MB " [Timeout remaining time 652] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.sim & python3 -m fmpy simulate --output-file PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource_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_PQsource.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.PQsource.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.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.PQsource_res.csv. Warning: Get data of variable Time from file PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource_res.csv failed! Error: Could not read variable sensor.p[1] in file PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource_res.csv. Warning: Get data of variable sensor.p[1] from file PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource_res.csv failed! Error: Could not read variable sensor.p[2] in file PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource_res.csv. Warning: Get data of variable sensor.p[2] from file PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource_res.csv failed! Error: Could not read variable sensor.p[3] in file PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource_res.csv. Warning: Get data of variable sensor.p[3] from file PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.435098727233708]