Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.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.001388/0.001388, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.00167/0.00167, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.504/1.504, allocations: 230.6 MB / 258.3 MB, free: 8 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.1999/0.1999, allocations: 38.52 MB / 353.2 MB, free: 12.66 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.Precalculation.Z_matrixEqCirc3,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc3",fmuType="cs",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.002159/0.002159, allocations: 67.89 kB / 493.3 MB, free: 4.934 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.362/0.3641, allocations: 62.48 MB / 0.5428 GB, free: 484 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.0039/0.368, allocations: 2.151 MB / 0.5449 GB, free: 14.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009451/0.369, allocations: 0.5617 MB / 0.5454 GB, free: 14.34 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.364e-05/0.369, allocations: 1.062 kB / 0.5454 GB, free: 14.34 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001368/0.3692, allocations: 14.42 kB / 0.5454 GB, free: 14.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001775/0.3694, allocations: 36.48 kB / 0.5455 GB, free: 14.3 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003792/0.3697, allocations: 73.25 kB / 0.5455 GB, free: 14.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001322/0.3699, allocations: 67.52 kB / 0.5456 GB, free: 14.21 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.367e-05/0.3699, allocations: 2.219 kB / 0.5456 GB, free: 14.21 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001379/0.37, allocations: 34.97 kB / 0.5456 GB, free: 14.19 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.897e-05/0.3701, allocations: 29.64 kB / 0.5457 GB, free: 14.17 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.958e-06/0.3701, allocations: 1.375 kB / 0.5457 GB, free: 14.17 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002394/0.3704, allocations: 124.7 kB / 0.5458 GB, free: 14.08 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.21e-05/0.3704, allocations: 41.84 kB / 0.5458 GB, free: 14.06 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.003e-05/0.3705, allocations: 49.17 kB / 0.5459 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002291/0.3707, allocations: 153.8 kB / 0.546 GB, free: 13.94 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.3707, allocations: 3.984 kB / 0.546 GB, free: 13.94 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3707, allocations: 0 / 0.546 GB, free: 13.94 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.7e-06/0.3707, allocations: 5.312 kB / 0.546 GB, free: 13.93 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0005153/0.3712, allocations: 408.6 kB / 0.5464 GB, free: 13.56 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.3713, allocations: 13.8 kB / 0.5464 GB, free: 13.55 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.5e-05/0.3713, allocations: 1.469 kB / 0.5464 GB, free: 13.55 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.382e-05/0.3713, allocations: 50.11 kB / 0.5465 GB, free: 13.5 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.533e-05/0.3714, allocations: 21.33 kB / 0.5465 GB, free: 13.49 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000189/0.3716, allocations: 145.7 kB / 0.5466 GB, free: 13.33 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.156e-06/0.3716, allocations: 1.062 kB / 0.5466 GB, free: 13.33 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.198e-05/0.3716, allocations: 1.125 kB / 0.5466 GB, free: 13.33 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002128/0.3718, allocations: 122.5 kB / 0.5468 GB, free: 13.27 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.3718, allocations: 5.078 kB / 0.5468 GB, free: 13.27 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.3718, allocations: 0 / 0.5468 GB, free: 13.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.3718, allocations: 5.484 kB / 0.5468 GB, free: 13.26 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/0.3719, allocations: 92.77 kB / 0.5469 GB, free: 13.23 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002055/0.3721, allocations: 178.2 kB / 0.547 GB, free: 13.04 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001389/0.3723, allocations: 108.5 kB / 0.5471 GB, free: 12.98 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001271/0.3724, allocations: 97.38 kB / 0.5472 GB, free: 12.94 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.561e-06/0.3724, allocations: 0 / 0.5472 GB, free: 12.94 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.7e-05/0.3725, allocations: 35.91 kB / 0.5473 GB, free: 12.9 MB / 398.1 MB Notification: Performance of pre-optimization done (n=40): time 1.002e-06/0.3725, allocations: 0 / 0.5473 GB, free: 12.9 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.0007233/0.3732, allocations: 485.5 kB / 0.5477 GB, free: 12.71 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.755e-05/0.3733, allocations: 108.5 kB / 0.5478 GB, free: 12.61 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/0.3734, allocations: 149 kB / 0.548 GB, free: 12.48 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.3735, allocations: 26.8 kB / 0.548 GB, free: 12.45 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.04e-05/0.3735, allocations: 100.2 kB / 0.5481 GB, free: 12.34 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001378/0.3737, allocations: 134.2 kB / 0.5482 GB, free: 12.23 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.398e-05/0.3737, allocations: 35.58 kB / 0.5483 GB, free: 12.2 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001901/0.3739, allocations: 341.3 kB / 0.5486 GB, free: 11.86 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001362/0.3741, allocations: 92.62 kB / 0.5487 GB, free: 11.83 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.3742, allocations: 101.8 kB / 0.5488 GB, free: 11.79 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004036/0.3746, allocations: 365.6 kB / 0.5491 GB, free: 11.63 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.3746, allocations: 1.125 kB / 0.5491 GB, free: 11.63 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000447/0.375, allocations: 322.2 kB / 0.5494 GB, free: 11.48 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001075/0.3751, allocations: 87.62 kB / 0.5495 GB, free: 11.42 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.3751, allocations: 0 / 0.5495 GB, free: 11.42 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.3752, allocations: 0 / 0.5495 GB, free: 11.42 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.223e-06/0.3752, allocations: 1.375 kB / 0.5495 GB, free: 11.42 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.3752, allocations: 0 / 0.5495 GB, free: 11.42 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.639e-05/0.3752, allocations: 20.75 kB / 0.5495 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.089e-05/0.3753, allocations: 14.38 kB / 0.5495 GB, free: 11.4 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0002397/0.3755, allocations: 228.5 kB / 0.5498 GB, free: 11.22 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.626e-05/0.3755, allocations: 25.67 kB / 0.5498 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.116e-05/0.3756, allocations: 8.469 kB / 0.5498 GB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.3756, allocations: 1.219 kB / 0.5498 GB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3756, allocations: 0 / 0.5498 GB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.3756, allocations: 0 / 0.5498 GB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002177/0.3758, allocations: 206.1 kB / 0.55 GB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.3758, allocations: 1.094 kB / 0.55 GB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.3758, allocations: 4 kB / 0.55 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3758, allocations: 0 / 0.55 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.244e-05/0.3758, allocations: 11.27 kB / 0.55 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.3758, allocations: 3.984 kB / 0.55 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3758, allocations: 0 / 0.55 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/0.3769, allocations: 0.9046 MB / 0.5509 GB, free: 10.6 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.343e-05/0.3769, allocations: 30 kB / 0.5509 GB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.194e-05/0.377, allocations: 5.406 kB / 0.5509 GB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.626e-05/0.377, allocations: 10.72 kB / 0.5509 GB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.612e-05/0.3771, allocations: 6.281 kB / 0.5509 GB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.942e-05/0.3771, allocations: 6.906 kB / 0.5509 GB, free: 10.57 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001022/0.3772, allocations: 115.8 kB / 0.5511 GB, free: 10.47 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3772, allocations: 0 / 0.5511 GB, free: 10.47 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002897/0.3775, allocations: 62 kB / 0.5511 GB, free: 10.47 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.001428/0.3789, allocations: 1.46 MB / 0.5525 GB, free: 9.551 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001008/0.3799, allocations: 0.818 MB / 0.5533 GB, free: 9.238 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.3799, allocations: 0 / 0.5533 GB, free: 9.238 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006736/0.3806, allocations: 0.5958 MB / 0.5539 GB, free: 8.75 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000334/0.3809, allocations: 42.44 kB / 0.554 GB, free: 8.711 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004099/0.385, allocations: 3.465 MB / 0.5573 GB, free: 5.156 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004041/0.3854, allocations: 0.7507 MB / 0.5581 GB, free: 4.379 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.246e-05/0.3854, allocations: 4 kB / 0.5581 GB, free: 4.375 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.667e-05/0.3855, allocations: 39.42 kB / 0.5581 GB, free: 4.336 MB / 398.1 MB Notification: Performance of SimCode: time 1.012e-06/0.3855, allocations: 0 / 0.5581 GB, free: 4.336 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02884/0.4143, allocations: 5.238 MB / 0.5632 GB, free: 15.25 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.82, allocations: 15.17 kB / 0.5633 GB, free: 15.23 MB / 414.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc3_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc3.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.800789002969395]