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.001763/0.001763, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.002106/0.002106, allocations: 214.4 kB / 23.74 MB, free: 4.656 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.508/1.508, allocations: 230.6 MB / 257.5 MB, free: 8.02 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.1811/0.1811, allocations: 38.53 MB / 352.5 MB, free: 12.54 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.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: 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.002066/0.002066, allocations: 63.91 kB / 492.5 MB, free: 4.867 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.3126, allocations: 62.47 MB / 0.542 GB, free: 444 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.006266/0.3188, allocations: 4.735 MB / 0.5466 GB, free: 12.72 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002251/0.3211, allocations: 1.365 MB / 0.548 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001705/0.3212, allocations: 17.5 kB / 0.548 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001178/0.3224, allocations: 417.9 kB / 0.5484 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005387/0.323, allocations: 257.6 kB / 0.5486 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004862/0.3234, allocations: 163.5 kB / 0.5488 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006645/0.3241, allocations: 0.563 MB / 0.5493 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003898/0.3245, allocations: 234.9 kB / 0.5495 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004112/0.3249, allocations: 272.2 kB / 0.5498 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004724/0.3254, allocations: 299.9 kB / 0.5501 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.84e-05/0.3254, allocations: 30.25 kB / 0.5501 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002774/0.3257, allocations: 131.2 kB / 0.5502 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001962/0.3259, allocations: 205.2 kB / 0.5504 GB, free: 9.996 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002215/0.3261, allocations: 211.3 kB / 0.5506 GB, free: 9.863 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006058/0.3267, allocations: 0.5205 MB / 0.5512 GB, free: 9.52 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.3267, allocations: 1.094 kB / 0.5512 GB, free: 9.52 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.246e-06/0.3267, allocations: 3.984 kB / 0.5512 GB, free: 9.516 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.393e-06/0.3267, allocations: 4 kB / 0.5512 GB, free: 9.512 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001132/0.3279, allocations: 0.6284 MB / 0.5518 GB, free: 8.996 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.3279, allocations: 13.55 kB / 0.5518 GB, free: 8.992 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.141e-05/0.328, allocations: 77.27 kB / 0.5519 GB, free: 8.922 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005628/0.3286, allocations: 88.11 kB / 0.5519 GB, free: 8.879 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006982/0.3293, allocations: 351.9 kB / 0.5523 GB, free: 8.594 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.882e-05/0.3293, allocations: 31.44 kB / 0.5523 GB, free: 8.578 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001273/0.3294, allocations: 47.86 kB / 0.5524 GB, free: 8.559 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007335/0.3302, allocations: 482.7 kB / 0.5528 GB, free: 8.246 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.832e-05/0.3302, allocations: 1.344 kB / 0.5528 GB, free: 8.246 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.458e-05/0.3302, allocations: 10.78 kB / 0.5528 GB, free: 8.238 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001078/0.3303, allocations: 29.14 kB / 0.5529 GB, free: 8.23 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005719/0.3309, allocations: 353.4 kB / 0.5532 GB, free: 8.062 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002329/0.3332, allocations: 1.657 MB / 0.5548 GB, free: 6.676 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002866/0.3335, allocations: 148.3 kB / 0.555 GB, free: 6.57 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001611/0.3337, allocations: 109.4 kB / 0.5551 GB, free: 6.504 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.3337, allocations: 6.062 kB / 0.5551 GB, free: 6.5 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.3337, allocations: 35.55 kB / 0.5551 GB, free: 6.457 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.483e-06/0.3337, allocations: 0 / 0.5551 GB, free: 6.457 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001467/0.3352, allocations: 0.7507 MB / 0.5558 GB, free: 5.945 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.467e-05/0.3352, allocations: 83.58 kB / 0.5559 GB, free: 5.848 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003259/0.3356, allocations: 311 kB / 0.5562 GB, free: 5.637 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.833e-05/0.3356, allocations: 29.7 kB / 0.5562 GB, free: 5.602 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001919/0.3358, allocations: 252 kB / 0.5565 GB, free: 5.352 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.725e-05/0.3359, allocations: 63.56 kB / 0.5565 GB, free: 5.289 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.585e-05/0.336, allocations: 65.97 kB / 0.5566 GB, free: 5.215 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.3361, allocations: 342.8 kB / 0.5569 GB, free: 4.871 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000173/0.3363, allocations: 104.2 kB / 0.557 GB, free: 4.77 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002524/0.3365, allocations: 201.3 kB / 0.5572 GB, free: 4.527 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004372/0.337, allocations: 327.4 kB / 0.5575 GB, free: 4.164 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.337, allocations: 0 / 0.5575 GB, free: 4.164 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009305/0.3379, allocations: 473.9 kB / 0.558 GB, free: 3.691 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.3379, allocations: 8 kB / 0.558 GB, free: 3.684 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008071/0.3387, allocations: 308.7 kB / 0.5583 GB, free: 3.379 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004976/0.3392, allocations: 132.7 kB / 0.5584 GB, free: 3.246 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002125/0.3394, allocations: 55.91 kB / 0.5585 GB, free: 3.191 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003082/0.3425, allocations: 2.34 MB / 0.5608 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002203/0.3427, allocations: 15.98 kB / 0.5608 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.408e-05/0.3428, allocations: 12 kB / 0.5608 GB, free: 0.7109 MB / 398.1 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.0002484/0.343, allocations: 189.7 kB / 0.561 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.163e-05/0.3431, allocations: 35.75 kB / 0.561 GB, free: 492 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000485/0.3436, allocations: 268.2 kB / 0.5612 GB, free: 212 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.3436, allocations: 0 / 0.5612 GB, free: 212 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.3436, allocations: 4 kB / 0.5613 GB, free: 208 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.3436, allocations: 4 kB / 0.5613 GB, free: 204 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001231/0.3448, allocations: 0.7107 MB / 0.5619 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.3448, allocations: 0 / 0.5619 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002191/0.345, allocations: 35.97 kB / 0.562 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001176/0.3451, allocations: 44.89 kB / 0.562 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.3452, allocations: 0 / 0.562 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.3452, allocations: 4 kB / 0.562 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3452, allocations: 0 / 0.562 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006121/0.3458, allocations: 449.3 kB / 0.5625 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.322e-05/0.3458, allocations: 27.81 kB / 0.5625 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.652e-05/0.3459, allocations: 12.03 kB / 0.5625 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001501/0.346, allocations: 4 kB / 0.5625 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.23e-05/0.3461, allocations: 23.84 kB / 0.5625 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.3461, allocations: 4 kB / 0.5625 GB, free: 14.81 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002389/0.3463, allocations: 219 kB / 0.5627 GB, free: 14.59 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3463, allocations: 0 / 0.5627 GB, free: 14.59 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005175/0.3469, allocations: 88 kB / 0.5628 GB, free: 14.51 MB / 414.1 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.000962/0.3478, allocations: 0.9807 MB / 0.5638 GB, free: 13.49 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008013/0.3486, allocations: 400.8 kB / 0.5642 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.3486, allocations: 4.875 kB / 0.5642 GB, free: 13.08 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002012/0.3488, allocations: 96.88 kB / 0.5643 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005171/0.3493, allocations: 67.98 kB / 0.5643 GB, free: 12.92 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005188/0.3545, allocations: 3.57 MB / 0.5678 GB, free: 9.164 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005669/0.3551, allocations: 0.8496 MB / 0.5686 GB, free: 8.285 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002441/0.3553, allocations: 58.92 kB / 0.5687 GB, free: 8.23 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001807/0.3555, allocations: 123.4 kB / 0.5688 GB, free: 8.109 MB / 414.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3555, allocations: 0 / 0.5688 GB, free: 8.109 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03997/0.3955, allocations: 7.658 MB / 0.5763 GB, free: 0.582 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.47/13.87, allocations: 5.234 kB / 0.5763 GB, free: 0.582 MB / 414.1 MB " [Timeout remaining time 646] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.PQsource.mat","/var/lib/jenkins1/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: 16.833815260004485]