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.00126/0.00126, allocations: 115.8 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.001428/0.001428, allocations: 212.7 kB / 23.74 MB, free: 4.66 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.548/1.548, allocations: 230.6 MB / 257.5 MB, free: 8.004 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.1879/0.1879, allocations: 38.52 MB / 352.4 MB, free: 12.56 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.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: 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.002068/0.002068, allocations: 75.88 kB / 492.6 MB, free: 4.875 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.318, allocations: 62.46 MB / 0.542 GB, free: 424 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.006612/0.3246, allocations: 4.754 MB / 0.5466 GB, free: 12.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002446/0.327, allocations: 1.369 MB / 0.548 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002013/0.3272, allocations: 16.69 kB / 0.548 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001266/0.3285, allocations: 417.8 kB / 0.5484 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007343/0.3292, allocations: 248.1 kB / 0.5486 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005793/0.3298, allocations: 175.7 kB / 0.5488 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007797/0.3306, allocations: 0.5583 MB / 0.5493 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004668/0.331, allocations: 243.7 kB / 0.5496 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005044/0.3315, allocations: 272.5 kB / 0.5498 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005045/0.332, allocations: 290 kB / 0.5501 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.716e-05/0.3321, allocations: 30.72 kB / 0.5501 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003209/0.3324, allocations: 135.9 kB / 0.5503 GB, free: 10.08 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002178/0.3326, allocations: 189.1 kB / 0.5505 GB, free: 9.965 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002708/0.3329, allocations: 223.5 kB / 0.5507 GB, free: 9.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007208/0.3336, allocations: 0.5144 MB / 0.5512 GB, free: 9.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3336, allocations: 1.25 kB / 0.5512 GB, free: 9.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3336, allocations: 0 / 0.5512 GB, free: 9.48 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.776e-06/0.3336, allocations: 0 / 0.5512 GB, free: 9.48 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.001236/0.3349, allocations: 0.6329 MB / 0.5518 GB, free: 8.957 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.3349, allocations: 14.11 kB / 0.5518 GB, free: 8.953 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001026/0.335, allocations: 83.48 kB / 0.5519 GB, free: 8.875 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005689/0.3356, allocations: 87.91 kB / 0.552 GB, free: 8.832 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007575/0.3364, allocations: 344 kB / 0.5523 GB, free: 8.555 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.405e-05/0.3364, allocations: 34.59 kB / 0.5523 GB, free: 8.535 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001402/0.3365, allocations: 47.42 kB / 0.5524 GB, free: 8.516 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008022/0.3373, allocations: 468 kB / 0.5528 GB, free: 8.215 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.3374, allocations: 5.094 kB / 0.5528 GB, free: 8.211 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.978e-05/0.3374, allocations: 15.23 kB / 0.5528 GB, free: 8.199 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001138/0.3375, allocations: 29.23 kB / 0.5529 GB, free: 8.191 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005602/0.3381, allocations: 338.3 kB / 0.5532 GB, free: 8.031 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002376/0.3405, allocations: 1.633 MB / 0.5548 GB, free: 6.656 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003284/0.3408, allocations: 144.2 kB / 0.5549 GB, free: 6.555 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000164/0.3409, allocations: 102.2 kB / 0.555 GB, free: 6.492 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/0.341, allocations: 6.25 kB / 0.555 GB, free: 6.488 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.574e-05/0.341, allocations: 39.72 kB / 0.5551 GB, free: 6.441 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.653e-06/0.341, allocations: 4 kB / 0.5551 GB, free: 6.438 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001457/0.3425, allocations: 0.7094 MB / 0.5558 GB, free: 5.953 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.176e-05/0.3425, allocations: 83.36 kB / 0.5558 GB, free: 5.855 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003281/0.3429, allocations: 311.8 kB / 0.5561 GB, free: 5.648 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.703e-05/0.3429, allocations: 30.77 kB / 0.5562 GB, free: 5.613 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001856/0.3431, allocations: 249.2 kB / 0.5564 GB, free: 5.391 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.295e-05/0.3431, allocations: 67.98 kB / 0.5565 GB, free: 5.332 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.704e-05/0.3432, allocations: 60.77 kB / 0.5565 GB, free: 5.285 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001705/0.3434, allocations: 346.5 kB / 0.5569 GB, free: 4.945 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001572/0.3436, allocations: 90.45 kB / 0.5569 GB, free: 4.867 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002358/0.3438, allocations: 197.3 kB / 0.5571 GB, free: 4.629 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004343/0.3442, allocations: 323 kB / 0.5574 GB, free: 4.27 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3442, allocations: 0 / 0.5574 GB, free: 4.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009073/0.3451, allocations: 445.8 kB / 0.5579 GB, free: 3.824 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.3451, allocations: 8 kB / 0.5579 GB, free: 3.816 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006034/0.3458, allocations: 284.3 kB / 0.5581 GB, free: 3.539 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004893/0.3462, allocations: 140.7 kB / 0.5583 GB, free: 3.398 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001993/0.3464, allocations: 47.92 kB / 0.5583 GB, free: 3.352 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002922/0.3494, allocations: 2.276 MB / 0.5605 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002033/0.3496, allocations: 15.92 kB / 0.5606 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.323e-05/0.3496, allocations: 19.94 kB / 0.5606 GB, free: 0.9297 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.0002359/0.3498, allocations: 185.7 kB / 0.5608 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.86e-05/0.3499, allocations: 31.81 kB / 0.5608 GB, free: 0.707 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004622/0.3503, allocations: 249.3 kB / 0.561 GB, free: 460 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.3504, allocations: 3.938 kB / 0.561 GB, free: 456 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.3504, allocations: 0 / 0.561 GB, free: 456 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.3504, allocations: 4 kB / 0.561 GB, free: 452 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0012/0.3516, allocations: 0.6912 MB / 0.5617 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.3516, allocations: 0 / 0.5617 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002252/0.3518, allocations: 43.97 kB / 0.5618 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.818e-05/0.3519, allocations: 24.84 kB / 0.5618 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.931e-05/0.3519, allocations: 7.984 kB / 0.5618 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001329/0.3532, allocations: 1.496 MB / 0.5632 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.3532, allocations: 0 / 0.5632 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005566/0.3538, allocations: 417.1 kB / 0.5636 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.425e-05/0.3539, allocations: 35.81 kB / 0.5637 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.371e-05/0.3539, allocations: 8.031 kB / 0.5637 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001564/0.3541, allocations: 8 kB / 0.5637 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.565e-05/0.3541, allocations: 15.91 kB / 0.5637 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.566e-05/0.3541, allocations: 8 kB / 0.5637 GB, free: 13.49 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002274/0.3543, allocations: 215.1 kB / 0.5639 GB, free: 13.29 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3543, allocations: 3.938 kB / 0.5639 GB, free: 13.28 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004793/0.3548, allocations: 88 kB / 0.564 GB, free: 13.2 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): 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.0008906/0.3557, allocations: 0.9536 MB / 0.5649 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000733/0.3564, allocations: 394.2 kB / 0.5653 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3564, allocations: 0 / 0.5653 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003519/0.3568, allocations: 236.2 kB / 0.5655 GB, free: 11.56 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004695/0.3573, allocations: 64 kB / 0.5656 GB, free: 11.5 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004811/0.3621, allocations: 3.52 MB / 0.569 GB, free: 7.789 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005326/0.3626, allocations: 0.8419 MB / 0.5699 GB, free: 6.918 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001763/0.3628, allocations: 58.94 kB / 0.5699 GB, free: 6.859 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001829/0.363, allocations: 123.4 kB / 0.57 GB, free: 6.738 MB / 414.1 MB Notification: Performance of SimCode: time 6.51e-07/0.363, allocations: 0 / 0.57 GB, free: 6.738 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04042/0.4034, allocations: 7.784 MB / 0.5776 GB, free: 15.09 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.01/13.42, allocations: 9.703 kB / 0.5776 GB, free: 15.09 MB / 430.1 MB " [Timeout remaining time 646] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.PVsource.mat","/var/lib/jenkins1/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: 16.489116547003505]