Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.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.001314/0.001314, 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.001517/0.001517, allocations: 211.4 kB / 23.73 MB, free: 4.387 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.583/1.583, 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.1851/0.1851, allocations: 38.56 MB / 352.5 MB, free: 12.42 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.LoadAC,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_LoadAC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_LoadAC",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.003346/0.003346, allocations: 59.91 kB / 492.5 MB, free: 4.727 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.3512, allocations: 62.48 MB / 0.5419 GB, free: 272 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC): time 0.006318/0.3575, allocations: 4.122 MB / 0.546 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001732/0.3592, allocations: 0.9254 MB / 0.5469 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001836/0.3594, allocations: 15.97 kB / 0.5469 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002038/0.3596, allocations: 56.3 kB / 0.5469 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000548/0.3602, allocations: 204.5 kB / 0.5471 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002236/0.3604, allocations: 95.98 kB / 0.5472 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005713/0.361, allocations: 493.9 kB / 0.5477 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002094/0.3612, allocations: 87.38 kB / 0.5478 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003642/0.3616, allocations: 224.5 kB / 0.548 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003915/0.3619, allocations: 248.4 kB / 0.5482 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.671e-05/0.362, allocations: 27.09 kB / 0.5483 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001003/0.3621, allocations: 29.34 kB / 0.5483 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001467/0.3622, allocations: 127.8 kB / 0.5484 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001814/0.3624, allocations: 153.8 kB / 0.5486 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004852/0.3629, allocations: 387.4 kB / 0.5489 GB, free: 11.06 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3629, allocations: 0 / 0.5489 GB, free: 11.06 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3629, allocations: 1.281 kB / 0.5489 GB, free: 11.06 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.575e-06/0.3629, allocations: 0 / 0.5489 GB, free: 11.06 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001345/0.3643, allocations: 0.6369 MB / 0.5496 GB, free: 10.54 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.3643, allocations: 16.8 kB / 0.5496 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.505e-05/0.3644, allocations: 60.08 kB / 0.5496 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001632/0.3646, allocations: 51.92 kB / 0.5497 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007268/0.3653, allocations: 343.4 kB / 0.55 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.746e-05/0.3653, allocations: 22.95 kB / 0.55 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.594e-05/0.3654, allocations: 24.81 kB / 0.55 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005984/0.366, allocations: 361.3 kB / 0.5504 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.366, allocations: 1.312 kB / 0.5504 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.147e-05/0.366, allocations: 10.78 kB / 0.5504 GB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/0.366, allocations: 7.062 kB / 0.5504 GB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000456/0.3665, allocations: 256.5 kB / 0.5507 GB, free: 9.773 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002326/0.3688, allocations: 1.345 MB / 0.552 GB, free: 8.598 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002821/0.3691, allocations: 146.3 kB / 0.5521 GB, free: 8.496 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001292/0.3692, allocations: 78.67 kB / 0.5522 GB, free: 8.445 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.3692, allocations: 1.969 kB / 0.5522 GB, free: 8.445 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/0.3693, allocations: 41.94 kB / 0.5522 GB, free: 8.398 MB / 398.1 MB Notification: Performance of pre-optimization done (n=15): time 1.984e-06/0.3693, allocations: 0 / 0.5522 GB, free: 8.398 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.00125/0.3705, allocations: 0.6134 MB / 0.5528 GB, free: 7.973 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.288e-05/0.3706, allocations: 79.64 kB / 0.5529 GB, free: 7.879 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003558/0.3709, allocations: 306.1 kB / 0.5532 GB, free: 7.672 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.33e-05/0.371, allocations: 26.77 kB / 0.5532 GB, free: 7.641 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000161/0.3711, allocations: 223.9 kB / 0.5534 GB, free: 7.438 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.038e-05/0.3712, allocations: 63.42 kB / 0.5535 GB, free: 7.383 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.47e-05/0.3713, allocations: 52.28 kB / 0.5535 GB, free: 7.344 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.3714, allocations: 342.6 kB / 0.5539 GB, free: 7.008 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/0.3716, allocations: 66.58 kB / 0.5539 GB, free: 6.977 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002071/0.3718, allocations: 172.6 kB / 0.5541 GB, free: 6.809 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003507/0.3721, allocations: 255.7 kB / 0.5543 GB, free: 6.602 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3721, allocations: 1.156 kB / 0.5543 GB, free: 6.602 MB / 398.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004473/0.3726, allocations: 285.7 kB / 0.5546 GB, free: 6.445 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.3726, allocations: 5.812 kB / 0.5546 GB, free: 6.445 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.3726, allocations: 7.281 kB / 0.5546 GB, free: 6.441 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.189e-05/0.3726, allocations: 8.75 kB / 0.5546 GB, free: 6.438 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002533/0.3729, allocations: 59.69 kB / 0.5547 GB, free: 6.422 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.3729, allocations: 5.438 kB / 0.5547 GB, free: 6.422 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001702/0.373, allocations: 18.56 kB / 0.5547 GB, free: 6.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.908e-05/0.3731, allocations: 14.16 kB / 0.5547 GB, free: 6.406 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): 29 * 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.0001763/0.3732, allocations: 174.7 kB / 0.5549 GB, free: 6.25 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.069e-05/0.3733, allocations: 28.7 kB / 0.5549 GB, free: 6.234 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004115/0.3737, allocations: 231.1 kB / 0.5551 GB, free: 6.094 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.3737, allocations: 2 kB / 0.5551 GB, free: 6.094 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.3737, allocations: 1.125 kB / 0.5551 GB, free: 6.094 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.3737, allocations: 0 / 0.5551 GB, free: 6.094 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008658/0.3746, allocations: 0.5814 MB / 0.5557 GB, free: 5.637 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.3746, allocations: 0.9688 kB / 0.5557 GB, free: 5.637 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002102/0.3748, allocations: 41.09 kB / 0.5558 GB, free: 5.625 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.3748, allocations: 1.125 kB / 0.5558 GB, free: 5.625 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.827e-05/0.3748, allocations: 6.25 kB / 0.5558 GB, free: 5.621 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/0.3748, allocations: 6.844 kB / 0.5558 GB, free: 5.617 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.3748, allocations: 4 kB / 0.5558 GB, free: 5.613 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005883/0.3754, allocations: 427.3 kB / 0.5562 GB, free: 5.227 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.167e-05/0.3755, allocations: 31.83 kB / 0.5562 GB, free: 5.195 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.272e-05/0.3755, allocations: 4 kB / 0.5562 GB, free: 5.191 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001592/0.3757, allocations: 7.984 kB / 0.5562 GB, free: 5.184 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.729e-05/0.3757, allocations: 15.97 kB / 0.5562 GB, free: 5.168 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/0.3757, allocations: 16 kB / 0.5563 GB, free: 5.152 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002215/0.376, allocations: 215 kB / 0.5565 GB, free: 4.945 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.376, allocations: 4 kB / 0.5565 GB, free: 4.941 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000358/0.3763, allocations: 56 kB / 0.5565 GB, free: 4.887 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (zLoadAC.psi) * 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 (20): * Single equations (assignments): 19 * 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.0008484/0.3772, allocations: 0.9514 MB / 0.5574 GB, free: 3.906 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000349/0.3775, allocations: 183.5 kB / 0.5576 GB, free: 3.73 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3775, allocations: 4.125 kB / 0.5576 GB, free: 3.727 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001387/0.3777, allocations: 79.89 kB / 0.5577 GB, free: 3.648 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005147/0.3782, allocations: 72.42 kB / 0.5578 GB, free: 3.574 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003565/0.3817, allocations: 2.91 MB / 0.5606 GB, free: 500 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002188/0.382, allocations: 203.4 kB / 0.5608 GB, free: 268 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001912/0.3821, allocations: 54.94 kB / 0.5609 GB, free: 216 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001836/0.3823, allocations: 107.4 kB / 0.561 GB, free: 108 kB / 398.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3823, allocations: 0 / 0.561 GB, free: 108 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03848/0.4208, allocations: 6.809 MB / 0.5676 GB, free: 9.473 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.64, allocations: 7.906 kB / 0.5676 GB, free: 9.469 MB / 414.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.sim & python3 -m fmpy simulate --output-file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_LoadAC.fmu > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.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.LoadAC_res.csv. Warning: Get data of variable Time from file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC_res.csv failed! Error: Could not read variable meter.p in file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC_res.csv. Warning: Get data of variable meter.p from file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC_res.csv failed! Error: Could not read variable meter.v in file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC_res.csv. Warning: Get data of variable meter.v from file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.876517984084785]