Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.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.00111/0.00111, 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.0009204/0.0009204, 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.9198/0.9198, 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.2273/0.2273, 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.AC3ph.Elementary.Load,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Load",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Load,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Load",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.425e-06/2.425e-06, allocations: 0 / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.34e-05/2.583e-05, allocations: 2.281 kB / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Load): time 0.004645/0.004671, allocations: 4.37 MB / 434.6 MB, free: 9.199 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001863/0.006535, allocations: 1.476 MB / 436.1 MB, free: 7.719 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002/0.006735, allocations: 19.81 kB / 436.1 MB, free: 7.699 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006404/0.007375, allocations: 278.5 kB / 436.4 MB, free: 7.426 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004642/0.007839, allocations: 282.4 kB / 436.6 MB, free: 7.148 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005584/0.008398, allocations: 271.2 kB / 436.9 MB, free: 6.883 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004943/0.008892, allocations: 0.6428 MB / 437.5 MB, free: 6.238 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000344/0.009236, allocations: 256.8 kB / 437.8 MB, free: 5.984 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003887/0.009625, allocations: 386.9 kB / 438.2 MB, free: 5.605 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003763/0.01, allocations: 367.1 kB / 438.5 MB, free: 5.246 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.659e-05/0.01005, allocations: 40 kB / 438.6 MB, free: 5.207 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002369/0.01028, allocations: 167.6 kB / 438.7 MB, free: 5.043 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00017/0.01045, allocations: 259.3 kB / 439 MB, free: 4.789 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001414/0.0106, allocations: 195.5 kB / 439.2 MB, free: 4.598 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005671/0.01116, allocations: 0.6815 MB / 439.9 MB, free: 3.914 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.01117, allocations: 7.938 kB / 439.9 MB, free: 3.906 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.01117, allocations: 0 / 439.9 MB, free: 3.906 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.418e-06/0.01118, allocations: 4 kB / 439.9 MB, free: 3.902 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.00125/0.01243, allocations: 0.8107 MB / 440.7 MB, free: 3.059 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.01248, allocations: 15.98 kB / 440.7 MB, free: 3.043 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.533e-05/0.01255, allocations: 82.7 kB / 440.8 MB, free: 2.953 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004455/0.013, allocations: 132.5 kB / 440.9 MB, free: 2.824 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006255/0.01362, allocations: 440.8 kB / 441.3 MB, free: 2.367 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.84e-05/0.01365, allocations: 29.38 kB / 441.4 MB, free: 2.34 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001227/0.01377, allocations: 52.55 kB / 441.4 MB, free: 2.289 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000747/0.01452, allocations: 0.6919 MB / 442.1 MB, free: 1.531 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/0.01454, allocations: 4 kB / 442.1 MB, free: 1.527 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.658e-05/0.01458, allocations: 19.94 kB / 442.1 MB, free: 1.508 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.866e-05/0.01467, allocations: 40.92 kB / 442.2 MB, free: 1.469 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006104/0.01528, allocations: 0.5228 MB / 442.7 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1801/0.1954, allocations: 2.919 MB / 445.6 MB, free: 52.32 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004241/0.1958, allocations: 299.8 kB / 445.9 MB, free: 52.28 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001511/0.196, allocations: 160.2 kB / 446.1 MB, free: 52.26 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.561e-05/0.196, allocations: 14.09 kB / 446.1 MB, free: 52.26 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/0.196, allocations: 41.31 kB / 446.1 MB, free: 52.22 MB / 410.7 MB Notification: Performance of pre-optimization done (n=31): time 2.926e-06/0.196, allocations: 0 / 446.1 MB, free: 52.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=32): time 0.001425/0.1975, allocations: 1.149 MB / 447.3 MB, free: 51.77 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.4e-05/0.1975, allocations: 80.14 kB / 447.3 MB, free: 51.68 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002684/0.1978, allocations: 401.9 kB / 447.7 MB, free: 51.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.1978, allocations: 33.45 kB / 447.8 MB, free: 51.46 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.489e-05/0.1979, allocations: 302.5 kB / 448.1 MB, free: 51.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.377e-05/0.1979, allocations: 124.2 kB / 448.2 MB, free: 51.14 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.147e-05/0.198, allocations: 105.6 kB / 448.3 MB, free: 51.09 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.813e-05/0.1981, allocations: 349.3 kB / 448.6 MB, free: 50.76 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001756/0.1983, allocations: 193 kB / 448.8 MB, free: 50.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002126/0.1985, allocations: 384.5 kB / 449.2 MB, free: 50.41 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004484/0.1989, allocations: 0.6051 MB / 449.8 MB, free: 50.04 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.1989, allocations: 3.062 kB / 449.8 MB, free: 50.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00103/0.2, allocations: 0.8287 MB / 450.6 MB, free: 49.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.2, allocations: 12.44 kB / 450.6 MB, free: 49.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.2, allocations: 6.625 kB / 450.6 MB, free: 49.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006576/0.2006, allocations: 269.3 kB / 450.9 MB, free: 49.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003063/0.201, allocations: 135.4 kB / 451 MB, free: 49.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002601/0.2036, allocations: 3.81 MB / 454.9 MB, free: 46.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002128/0.2038, allocations: 35.02 kB / 454.9 MB, free: 46.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.659e-05/0.2038, allocations: 22.81 kB / 454.9 MB, free: 46.73 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (53): * Single equations (assignments): 51 * 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): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001848/0.204, allocations: 223.3 kB / 455.1 MB, free: 46.56 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.212e-05/0.204, allocations: 37.92 kB / 455.2 MB, free: 46.54 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004569/0.2045, allocations: 489.7 kB / 455.6 MB, free: 46.35 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.2045, allocations: 3.188 kB / 455.6 MB, free: 46.35 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.2045, allocations: 3 kB / 455.6 MB, free: 46.35 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.2045, allocations: 3.516 kB / 455.6 MB, free: 46.35 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008002/0.2053, allocations: 0.9404 MB / 456.6 MB, free: 45.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.2053, allocations: 3.188 kB / 456.6 MB, free: 45.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000228/0.2055, allocations: 94.2 kB / 456.7 MB, free: 45.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.2055, allocations: 0 / 456.7 MB, free: 45.84 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.966e-05/0.2055, allocations: 11.56 kB / 456.7 MB, free: 45.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.2055, allocations: 0 / 456.7 MB, free: 45.84 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.2055, allocations: 14.36 kB / 456.7 MB, free: 45.83 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005429/0.2061, allocations: 0.7387 MB / 457.4 MB, free: 45.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.221e-05/0.2061, allocations: 43.97 kB / 457.5 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.937e-05/0.2062, allocations: 10.56 kB / 457.5 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/0.2063, allocations: 22.36 kB / 457.5 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.771e-05/0.2063, allocations: 28.28 kB / 457.6 MB, free: 45.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-05/0.2063, allocations: 13.72 kB / 457.6 MB, free: 45.41 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001612/0.2065, allocations: 271.2 kB / 457.8 MB, free: 45.29 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2065, allocations: 11.16 kB / 457.8 MB, free: 45.28 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003544/0.2069, allocations: 115.2 kB / 458 MB, free: 45.27 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (load.psi[1],load.psi[2],load.psi[3],load.Z[1],load.Z[2]) * 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 (38): * Single equations (assignments): 37 * 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.0006434/0.2075, allocations: 1.286 MB / 459.2 MB, free: 44.37 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007891/0.2083, allocations: 0.7763 MB / 460 MB, free: 43.98 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2083, allocations: 0 / 460 MB, free: 43.98 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000165/0.2084, allocations: 200.9 kB / 460.2 MB, free: 43.92 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003541/0.2088, allocations: 89.75 kB / 460.3 MB, free: 43.89 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004437/0.2132, allocations: 5.18 MB / 465.5 MB, free: 41.01 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001836/0.2134, allocations: 293.3 kB / 465.8 MB, free: 40.91 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000218/0.2136, allocations: 141.2 kB / 465.9 MB, free: 40.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001653/0.2138, allocations: 175.2 kB / 466.1 MB, free: 40.75 MB / 410.7 MB Notification: Performance of SimCode: time 1.363e-06/0.2138, allocations: 0 / 466.1 MB, free: 40.75 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02598/0.2398, allocations: 11.53 MB / 477.6 MB, free: 39.07 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.258/8.498, allocations: 3.156 kB / 477.6 MB, free: 39.07 MB / 410.7 MB " [Timeout remaining time 651] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.sim & python3 -m fmpy simulate --output-file PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load_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_Elementary_Load.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Load.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.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.Elementary.Load_res.csv. Warning: Get data of variable Time from file PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load_res.csv failed! Error: Could not read variable meter.p[2] in file PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load_res.csv. Warning: Get data of variable meter.p[2] from file PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load_res.csv failed! Error: Could not read variable meter.p[3] in file PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load_res.csv. Warning: Get data of variable meter.p[3] from file PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load_res.csv failed! Error: Could not read variable meter.v[1] in file PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load_res.csv. Warning: Get data of variable meter.v[1] from file PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load_res.csv failed! Error: Could not read variable meter.v[2] in file PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load_res.csv. Warning: Get data of variable meter.v[2] from file PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load_res.csv failed! Error: Could not read variable meter.v[3] in file PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load_res.csv. Warning: Get data of variable meter.v[3] from file PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.571089558303356]