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.001331/0.001331, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.001478/0.001478, allocations: 214.3 kB / 23.73 MB, free: 4.16 MB / 14.72 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 1.494/1.494, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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.1911/0.1911, allocations: 38.55 MB / 352.5 MB, free: 12.43 MB / 286.1 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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002409/0.002409, allocations: 73.45 kB / 492.5 MB, free: 4.723 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3693/0.3717, allocations: 62.46 MB / 0.5419 GB, free: 256 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Load): time 0.006146/0.3779, allocations: 4.381 MB / 0.5462 GB, free: 12.89 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002602/0.3805, allocations: 1.464 MB / 0.5477 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001837/0.3807, allocations: 24.78 kB / 0.5477 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009006/0.3816, allocations: 293.8 kB / 0.548 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005734/0.3821, allocations: 261.5 kB / 0.5482 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006939/0.3828, allocations: 268.9 kB / 0.5485 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007607/0.3836, allocations: 0.6376 MB / 0.5491 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004402/0.384, allocations: 245.3 kB / 0.5493 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004932/0.3845, allocations: 297.7 kB / 0.5496 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006389/0.3852, allocations: 404.8 kB / 0.55 GB, free: 10.22 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.959e-05/0.3853, allocations: 41.66 kB / 0.55 GB, free: 10.22 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003592/0.3856, allocations: 162.4 kB / 0.5502 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002568/0.3859, allocations: 242.7 kB / 0.5504 GB, free: 10 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003038/0.3862, allocations: 238.8 kB / 0.5506 GB, free: 9.855 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008518/0.387, allocations: 0.6726 MB / 0.5513 GB, free: 9.418 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.387, allocations: 1 kB / 0.5513 GB, free: 9.418 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.387, allocations: 0 / 0.5513 GB, free: 9.418 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.408e-05/0.387, allocations: 0 / 0.5513 GB, free: 9.418 MB / 398.1 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.001922/0.389, allocations: 0.8204 MB / 0.5521 GB, free: 8.789 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.389, allocations: 13.02 kB / 0.5521 GB, free: 8.785 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001084/0.3891, allocations: 88.02 kB / 0.5522 GB, free: 8.707 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006941/0.3898, allocations: 125.9 kB / 0.5523 GB, free: 8.648 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001046/0.3909, allocations: 442.1 kB / 0.5527 GB, free: 8.328 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.31e-05/0.3909, allocations: 30.44 kB / 0.5528 GB, free: 8.316 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001415/0.391, allocations: 55.27 kB / 0.5528 GB, free: 8.293 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001049/0.3921, allocations: 0.6885 MB / 0.5535 GB, free: 7.805 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.333e-05/0.3921, allocations: 1.125 kB / 0.5535 GB, free: 7.805 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.445e-05/0.3922, allocations: 17.88 kB / 0.5535 GB, free: 7.793 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001132/0.3923, allocations: 36.23 kB / 0.5535 GB, free: 7.781 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008576/0.3931, allocations: 0.5229 MB / 0.5541 GB, free: 7.535 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00391/0.397, allocations: 2.947 MB / 0.5569 GB, free: 4.641 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005988/0.3976, allocations: 301.2 kB / 0.5572 GB, free: 4.328 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002713/0.3979, allocations: 169.7 kB / 0.5574 GB, free: 4.156 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.347e-05/0.3979, allocations: 4 kB / 0.5574 GB, free: 4.152 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.818e-05/0.398, allocations: 46.94 kB / 0.5574 GB, free: 4.098 MB / 398.1 MB Notification: Performance of pre-optimization done (n=31): time 1.924e-06/0.398, allocations: 0 / 0.5574 GB, free: 4.098 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.002084/0.4001, allocations: 1.144 MB / 0.5585 GB, free: 2.918 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.023e-05/0.4001, allocations: 89.14 kB / 0.5586 GB, free: 2.812 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004591/0.4006, allocations: 405.4 kB / 0.559 GB, free: 2.41 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.509e-05/0.4006, allocations: 29.7 kB / 0.559 GB, free: 2.375 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002412/0.4009, allocations: 308 kB / 0.5593 GB, free: 2.07 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001158/0.401, allocations: 126.9 kB / 0.5595 GB, free: 1.945 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000179/0.4012, allocations: 106.2 kB / 0.5596 GB, free: 1.836 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.4013, allocations: 354.7 kB / 0.5599 GB, free: 1.48 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003063/0.4016, allocations: 193.2 kB / 0.5601 GB, free: 1.293 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004523/0.4021, allocations: 382.5 kB / 0.5605 GB, free: 0.832 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008103/0.4029, allocations: 0.6008 MB / 0.561 GB, free: 148 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.4029, allocations: 0 / 0.561 GB, free: 148 kB / 398.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001911/0.4048, allocations: 0.8183 MB / 0.5618 GB, free: 15.31 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.4048, allocations: 8 kB / 0.5618 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/0.4049, allocations: 11.98 kB / 0.5619 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001249/0.4061, allocations: 270 kB / 0.5621 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006158/0.4067, allocations: 135.8 kB / 0.5622 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005034/0.4118, allocations: 3.826 MB / 0.566 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003806/0.4121, allocations: 27.97 kB / 0.566 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.678e-05/0.4122, allocations: 24 kB / 0.566 GB, free: 10.78 MB / 414.1 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.0002936/0.4125, allocations: 217.6 kB / 0.5662 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.949e-05/0.4126, allocations: 47.78 kB / 0.5663 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008557/0.4134, allocations: 485 kB / 0.5667 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.169e-05/0.4134, allocations: 11.88 kB / 0.5668 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.734e-06/0.4134, allocations: 0 / 0.5668 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.4134, allocations: 3.984 kB / 0.5668 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001534/0.415, allocations: 0.9595 MB / 0.5677 GB, free: 8.996 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.415, allocations: 3.938 kB / 0.5677 GB, free: 8.992 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004606/0.4154, allocations: 87.94 kB / 0.5678 GB, free: 8.906 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.633e-06/0.4154, allocations: 4 kB / 0.5678 GB, free: 8.902 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.344e-05/0.4155, allocations: 12 kB / 0.5678 GB, free: 8.891 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.434e-06/0.4155, allocations: 7.984 kB / 0.5678 GB, free: 8.883 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4155, allocations: 0 / 0.5678 GB, free: 8.883 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/0.4165, allocations: 0.7395 MB / 0.5685 GB, free: 8.117 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.19e-05/0.4166, allocations: 47.64 kB / 0.5686 GB, free: 8.07 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.191e-05/0.4167, allocations: 12.06 kB / 0.5686 GB, free: 8.059 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002671/0.417, allocations: 19.92 kB / 0.5686 GB, free: 8.039 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.556e-05/0.417, allocations: 19.95 kB / 0.5686 GB, free: 8.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-05/0.417, allocations: 16 kB / 0.5686 GB, free: 8.004 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000303/0.4173, allocations: 271.1 kB / 0.5689 GB, free: 7.746 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4173, allocations: 0 / 0.5689 GB, free: 7.746 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005528/0.4179, allocations: 120 kB / 0.569 GB, free: 7.629 MB / 414.1 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.001357/0.4192, allocations: 1.288 MB / 0.5703 GB, free: 6.301 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001525/0.4208, allocations: 0.7745 MB / 0.571 GB, free: 5.5 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4208, allocations: 0 / 0.571 GB, free: 5.5 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003058/0.4211, allocations: 189.5 kB / 0.5712 GB, free: 5.316 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005699/0.4217, allocations: 90.61 kB / 0.5713 GB, free: 5.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00932/0.431, allocations: 5.331 MB / 0.5765 GB, free: 15.61 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003362/0.4313, allocations: 290.4 kB / 0.5768 GB, free: 15.3 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003755/0.4317, allocations: 131.3 kB / 0.5769 GB, free: 15.18 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002846/0.432, allocations: 183.4 kB / 0.5771 GB, free: 15 MB / 430.1 MB Notification: Performance of SimCode: time 8.01e-07/0.432, allocations: 0 / 0.5771 GB, free: 15 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05099/0.483, allocations: 11.36 MB / 0.5882 GB, free: 3.832 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.38/13.86, allocations: 4 kB / 0.5882 GB, free: 3.828 MB / 430.1 MB " [Timeout remaining time 646] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Load.mat","/var/lib/jenkins1/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: 16.840864504221827]