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.00133/0.00133, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001479/0.001479, allocations: 207.9 kB / 23.72 MB, free: 4.391 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.459/1.459, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.1888/0.1888, allocations: 38.56 MB / 352.5 MB, free: 12.32 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.002143/0.002143, allocations: 67.91 kB / 492.5 MB, free: 4.703 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2914/0.2936, allocations: 62.47 MB / 0.5419 GB, free: 124 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.006259/0.2998, allocations: 4.493 MB / 0.5463 GB, free: 12.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002427/0.3023, allocations: 1.273 MB / 0.5476 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001834/0.3024, allocations: 16.97 kB / 0.5476 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001228/0.3037, allocations: 386.3 kB / 0.548 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005625/0.3042, allocations: 253.2 kB / 0.5482 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000446/0.3047, allocations: 179.3 kB / 0.5484 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005848/0.3053, allocations: 0.562 MB / 0.5489 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003703/0.3056, allocations: 227.8 kB / 0.5491 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003992/0.306, allocations: 272.1 kB / 0.5494 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004827/0.3065, allocations: 285.6 kB / 0.5497 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.119e-05/0.3066, allocations: 30.81 kB / 0.5497 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000284/0.3069, allocations: 127.8 kB / 0.5498 GB, free: 10.22 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002177/0.3071, allocations: 191.6 kB / 0.55 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002306/0.3073, allocations: 180.2 kB / 0.5502 GB, free: 10 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006566/0.308, allocations: 0.5158 MB / 0.5507 GB, free: 9.664 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.308, allocations: 1.375 kB / 0.5507 GB, free: 9.664 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.308, allocations: 0 / 0.5507 GB, free: 9.664 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.367e-05/0.308, allocations: 0 / 0.5507 GB, free: 9.664 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.00114/0.3091, allocations: 0.6367 MB / 0.5513 GB, free: 9.137 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.3092, allocations: 14.23 kB / 0.5513 GB, free: 9.133 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.321e-05/0.3092, allocations: 72.31 kB / 0.5514 GB, free: 9.066 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005556/0.3098, allocations: 91.14 kB / 0.5515 GB, free: 9.02 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007038/0.3105, allocations: 348.5 kB / 0.5518 GB, free: 8.738 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.736e-05/0.3105, allocations: 26.22 kB / 0.5518 GB, free: 8.727 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001234/0.3107, allocations: 47.81 kB / 0.5519 GB, free: 8.707 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006968/0.3114, allocations: 474.5 kB / 0.5523 GB, free: 8.406 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.3114, allocations: 1.094 kB / 0.5523 GB, free: 8.406 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.593e-05/0.3114, allocations: 19.16 kB / 0.5523 GB, free: 8.391 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001054/0.3115, allocations: 32.52 kB / 0.5524 GB, free: 8.379 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005181/0.312, allocations: 333.8 kB / 0.5527 GB, free: 8.223 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00214/0.3142, allocations: 1.458 MB / 0.5541 GB, free: 7.043 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002892/0.3145, allocations: 148.5 kB / 0.5543 GB, free: 6.938 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001478/0.3146, allocations: 98.08 kB / 0.5544 GB, free: 6.879 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.3146, allocations: 2.25 kB / 0.5544 GB, free: 6.879 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.296e-05/0.3147, allocations: 36.69 kB / 0.5544 GB, free: 6.836 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.483e-06/0.3147, allocations: 1.219 kB / 0.5544 GB, free: 6.836 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001379/0.316, allocations: 0.7149 MB / 0.5551 GB, free: 6.348 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.813e-05/0.3161, allocations: 83.27 kB / 0.5552 GB, free: 6.25 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003218/0.3164, allocations: 312.4 kB / 0.5555 GB, free: 6.016 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.765e-05/0.3165, allocations: 29.7 kB / 0.5555 GB, free: 5.98 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001907/0.3166, allocations: 260 kB / 0.5557 GB, free: 5.723 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.452e-05/0.3167, allocations: 59.48 kB / 0.5558 GB, free: 5.664 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.607e-05/0.3168, allocations: 69.86 kB / 0.5559 GB, free: 5.586 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.317, allocations: 342.8 kB / 0.5562 GB, free: 5.242 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001633/0.3171, allocations: 92.22 kB / 0.5563 GB, free: 5.152 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000239/0.3174, allocations: 193.3 kB / 0.5565 GB, free: 4.918 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004206/0.3178, allocations: 319.1 kB / 0.5568 GB, free: 4.562 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.3178, allocations: 4 kB / 0.5568 GB, free: 4.559 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008917/0.3187, allocations: 449.9 kB / 0.5572 GB, free: 4.109 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.3187, allocations: 7.938 kB / 0.5572 GB, free: 4.102 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005921/0.3193, allocations: 280.8 kB / 0.5575 GB, free: 3.824 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004585/0.3198, allocations: 132.7 kB / 0.5576 GB, free: 3.691 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000195/0.3199, allocations: 52.02 kB / 0.5577 GB, free: 3.641 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00294/0.3229, allocations: 2.264 MB / 0.5599 GB, free: 1.266 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000185/0.3231, allocations: 19.88 kB / 0.5599 GB, free: 1.246 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.044e-05/0.3231, allocations: 8 kB / 0.5599 GB, free: 1.238 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.0002209/0.3233, allocations: 196.7 kB / 0.5601 GB, free: 1.039 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.794e-05/0.3234, allocations: 27.81 kB / 0.5601 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004633/0.3238, allocations: 253.2 kB / 0.5603 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-06/0.3239, allocations: 11.92 kB / 0.5604 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.3239, allocations: 4 kB / 0.5604 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.3239, allocations: 3.984 kB / 0.5604 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00118/0.325, allocations: 0.6599 MB / 0.561 GB, free: 16 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.325, allocations: 4 kB / 0.561 GB, free: 12 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002302/0.3253, allocations: 35.97 kB / 0.561 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001049/0.3254, allocations: 36.84 kB / 0.5611 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/0.3254, allocations: 8 kB / 0.5611 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001355/0.3267, allocations: 1.485 MB / 0.5625 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3268, allocations: 4 kB / 0.5625 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005651/0.3273, allocations: 425.6 kB / 0.5629 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.691e-05/0.3274, allocations: 27.75 kB / 0.563 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.225e-05/0.3274, allocations: 8 kB / 0.563 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001524/0.3276, allocations: 8.031 kB / 0.563 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.619e-05/0.3276, allocations: 11.98 kB / 0.563 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.3276, allocations: 4 kB / 0.563 GB, free: 13.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002326/0.3278, allocations: 219 kB / 0.5632 GB, free: 13.61 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3278, allocations: 0 / 0.5632 GB, free: 13.61 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004749/0.3283, allocations: 88 kB / 0.5633 GB, free: 13.53 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.0009013/0.3292, allocations: 0.9614 MB / 0.5642 GB, free: 12.53 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007191/0.3299, allocations: 383 kB / 0.5646 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.3299, allocations: 4 kB / 0.5646 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00035/0.3303, allocations: 231.3 kB / 0.5648 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004679/0.3308, allocations: 68.2 kB / 0.5649 GB, free: 11.83 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004731/0.3355, allocations: 3.517 MB / 0.5683 GB, free: 8.121 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002798/0.3358, allocations: 233.1 kB / 0.5685 GB, free: 7.871 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001773/0.336, allocations: 62.92 kB / 0.5686 GB, free: 7.805 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001845/0.3361, allocations: 127.4 kB / 0.5687 GB, free: 7.68 MB / 414.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3361, allocations: 0 / 0.5687 GB, free: 7.68 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0408/0.3769, allocations: 8.061 MB / 0.5766 GB, free: 15.79 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.77/13.14, allocations: 11.55 kB / 0.5766 GB, free: 15.79 MB / 430.1 MB " [Timeout remaining time 647] (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.076621106360108]