Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.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.00146/0.00146, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001547/0.001547, allocations: 213.8 kB / 23.73 MB, free: 4.41 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.491/1.491, allocations: 230.6 MB / 257.5 MB, free: 7.777 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.1902/0.1902, allocations: 38.56 MB / 352.5 MB, free: 12.29 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.AC1ph_DC.Elementary.Source,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Source",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Source,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Source",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.002098/0.002098, allocations: 67.89 kB / 492.5 MB, free: 4.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.335, allocations: 62.46 MB / 0.5419 GB, free: 228 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Source): time 0.006593/0.3416, allocations: 3.878 MB / 0.5457 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001746/0.3434, allocations: 0.8485 MB / 0.5466 GB, free: 12.59 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001781/0.3436, allocations: 18.97 kB / 0.5466 GB, free: 12.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002138/0.3438, allocations: 43.19 kB / 0.5466 GB, free: 12.54 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006281/0.3444, allocations: 173.5 kB / 0.5468 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002317/0.3446, allocations: 82.17 kB / 0.5469 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005947/0.3452, allocations: 377 kB / 0.5472 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002328/0.3455, allocations: 57.83 kB / 0.5473 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000438/0.3459, allocations: 178.4 kB / 0.5474 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003935/0.3463, allocations: 172.8 kB / 0.5476 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.162e-05/0.3463, allocations: 16.62 kB / 0.5476 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.097e-05/0.3464, allocations: 17.47 kB / 0.5476 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001542/0.3466, allocations: 81.55 kB / 0.5477 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001824/0.3467, allocations: 104.8 kB / 0.5478 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004627/0.3472, allocations: 261.3 kB / 0.5481 GB, free: 11.6 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3472, allocations: 1.188 kB / 0.5481 GB, free: 11.6 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3472, allocations: 3.938 kB / 0.5481 GB, free: 11.59 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.255e-06/0.3472, allocations: 3.938 kB / 0.5481 GB, free: 11.59 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001138/0.3484, allocations: 0.4894 MB / 0.5486 GB, free: 11.17 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.745e-05/0.3484, allocations: 12.61 kB / 0.5486 GB, free: 11.16 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.389e-05/0.3485, allocations: 54.52 kB / 0.5486 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.644e-05/0.3486, allocations: 29.34 kB / 0.5486 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005683/0.3491, allocations: 272.1 kB / 0.5489 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.282e-05/0.3492, allocations: 16.03 kB / 0.5489 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.533e-05/0.3492, allocations: 21.66 kB / 0.5489 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004054/0.3496, allocations: 265.7 kB / 0.5492 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.3496, allocations: 1.438 kB / 0.5492 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.277e-05/0.3496, allocations: 13.47 kB / 0.5492 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.3497, allocations: 6.656 kB / 0.5492 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002552/0.3499, allocations: 157.8 kB / 0.5494 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001402/0.3513, allocations: 1.109 MB / 0.5504 GB, free: 9.512 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001632/0.3515, allocations: 69.06 kB / 0.5505 GB, free: 9.449 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.665e-05/0.3515, allocations: 32.31 kB / 0.5505 GB, free: 9.422 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.3515, allocations: 1.312 kB / 0.5505 GB, free: 9.422 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.399e-05/0.3516, allocations: 41.14 kB / 0.5506 GB, free: 9.375 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.3516, allocations: 0 / 0.5506 GB, free: 9.375 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008676/0.3525, allocations: 337.2 kB / 0.5509 GB, free: 9.098 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.957e-05/0.3525, allocations: 78.02 kB / 0.551 GB, free: 9.004 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003286/0.3529, allocations: 253.6 kB / 0.5512 GB, free: 8.824 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.3529, allocations: 27.17 kB / 0.5512 GB, free: 8.793 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000186/0.3531, allocations: 199.3 kB / 0.5514 GB, free: 8.605 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.304e-05/0.3531, allocations: 31.92 kB / 0.5515 GB, free: 8.578 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.411e-05/0.3532, allocations: 43.86 kB / 0.5515 GB, free: 8.543 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001984/0.3534, allocations: 332.3 kB / 0.5518 GB, free: 8.215 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.808e-05/0.3535, allocations: 26.48 kB / 0.5519 GB, free: 8.203 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001514/0.3536, allocations: 121 kB / 0.552 GB, free: 8.066 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002358/0.3538, allocations: 168 kB / 0.5521 GB, free: 7.898 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.3538, allocations: 1.969 kB / 0.5521 GB, free: 7.898 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002941/0.3541, allocations: 185.3 kB / 0.5523 GB, free: 7.789 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.3542, allocations: 10.28 kB / 0.5523 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.3542, allocations: 3.688 kB / 0.5523 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.3542, allocations: 4.969 kB / 0.5523 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/0.3543, allocations: 40.86 kB / 0.5524 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.574e-05/0.3544, allocations: 12.61 kB / 0.5524 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.3545, allocations: 8.188 kB / 0.5524 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.673e-05/0.3545, allocations: 17.03 kB / 0.5524 GB, free: 7.758 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 (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001529/0.3546, allocations: 146.2 kB / 0.5525 GB, free: 7.621 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.609e-05/0.3547, allocations: 25.8 kB / 0.5526 GB, free: 7.605 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001888/0.3549, allocations: 96.81 kB / 0.5527 GB, free: 7.531 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.3549, allocations: 6.141 kB / 0.5527 GB, free: 7.527 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.3549, allocations: 0 / 0.5527 GB, free: 7.527 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.3549, allocations: 1.156 kB / 0.5527 GB, free: 7.527 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004918/0.3554, allocations: 389.7 kB / 0.553 GB, free: 7.168 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3554, allocations: 0 / 0.553 GB, free: 7.168 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.886e-05/0.3555, allocations: 17.94 kB / 0.5531 GB, free: 7.164 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.636e-06/0.3555, allocations: 1.188 kB / 0.5531 GB, free: 7.164 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.3555, allocations: 1.094 kB / 0.5531 GB, free: 7.164 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.575e-06/0.3555, allocations: 6 kB / 0.5531 GB, free: 7.16 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.3555, allocations: 0 / 0.5531 GB, free: 7.16 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002995/0.3558, allocations: 233.7 kB / 0.5533 GB, free: 6.961 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.641e-05/0.3558, allocations: 26.31 kB / 0.5533 GB, free: 6.941 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.885e-05/0.3559, allocations: 1.438 kB / 0.5533 GB, free: 6.941 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.452e-05/0.3559, allocations: 1.281 kB / 0.5533 GB, free: 6.941 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.69e-05/0.356, allocations: 11.48 kB / 0.5533 GB, free: 6.934 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.747e-06/0.356, allocations: 6.281 kB / 0.5533 GB, free: 6.93 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001918/0.3562, allocations: 168.8 kB / 0.5535 GB, free: 6.812 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3562, allocations: 0 / 0.5535 GB, free: 6.812 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003227/0.3565, allocations: 39.06 kB / 0.5535 GB, free: 6.809 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ind.i) * 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 (9): * Single equations (assignments): 8 * 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.0005943/0.3571, allocations: 0.7612 MB / 0.5543 GB, free: 6.082 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002089/0.3573, allocations: 83.06 kB / 0.5543 GB, free: 6.047 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.3573, allocations: 1.469 kB / 0.5543 GB, free: 6.047 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.073e-05/0.3574, allocations: 30.8 kB / 0.5544 GB, free: 6.031 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005054/0.3579, allocations: 65.52 kB / 0.5544 GB, free: 5.996 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00279/0.3607, allocations: 2.31 MB / 0.5567 GB, free: 4.043 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001822/0.3608, allocations: 150.2 kB / 0.5568 GB, free: 3.93 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001146/0.361, allocations: 27.72 kB / 0.5569 GB, free: 3.918 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001153/0.3611, allocations: 74.09 kB / 0.5569 GB, free: 3.855 MB / 398.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3611, allocations: 0 / 0.5569 GB, free: 3.855 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03546/0.3965, allocations: 4.858 MB / 0.5617 GB, free: 15.45 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.62, allocations: 7.797 kB / 0.5617 GB, free: 15.44 MB / 414.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.sim & python3 -m fmpy simulate --output-file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00027027 PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Source.fmu > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Source.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source_res.csv. Warning: Get data of variable Time from file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source_res.csv failed! Error: Could not read variable meter.i in file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source_res.csv. Warning: Get data of variable meter.i from file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source_res.csv failed! Error: Could not read variable meter.p in file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source_res.csv. Warning: Get data of variable meter.p from file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source_res.csv failed! Error: Could not read variable meter.v in file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source_res.csv. Warning: Get data of variable meter.v from file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.532977803144604]