Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.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.00195/0.00195, 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.001609/0.001609, allocations: 206.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.534/1.534, 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.2034/0.2034, allocations: 38.55 MB / 352.5 MB, free: 12.27 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_matrixEqCirc1,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1",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.002803/0.002803, allocations: 71.89 kB / 492.5 MB, free: 4.652 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4154/0.4182, allocations: 62.47 MB / 0.5419 GB, free: 228 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.00352/0.4217, allocations: 2.144 MB / 0.544 GB, free: 14.53 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008096/0.4225, allocations: 0.5098 MB / 0.5445 GB, free: 14.15 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.353e-05/0.4226, allocations: 3.938 kB / 0.5445 GB, free: 14.15 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001252/0.4227, allocations: 10.67 kB / 0.5446 GB, free: 14.14 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000127/0.4228, allocations: 34.75 kB / 0.5446 GB, free: 14.11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003288/0.4231, allocations: 76.38 kB / 0.5447 GB, free: 14.06 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001106/0.4233, allocations: 58.02 kB / 0.5447 GB, free: 14.03 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.98e-05/0.4233, allocations: 1.375 kB / 0.5447 GB, free: 14.03 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001257/0.4234, allocations: 37.72 kB / 0.5448 GB, free: 14.01 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.341e-05/0.4235, allocations: 28.27 kB / 0.5448 GB, free: 14 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.338e-06/0.4235, allocations: 5.375 kB / 0.5448 GB, free: 13.99 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002049/0.4237, allocations: 104.3 kB / 0.5449 GB, free: 13.92 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.641e-05/0.4237, allocations: 16.98 kB / 0.5449 GB, free: 13.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.166e-05/0.4238, allocations: 13.75 kB / 0.5449 GB, free: 13.9 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001852/0.4239, allocations: 112.2 kB / 0.545 GB, free: 13.84 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.424, allocations: 1.719 kB / 0.545 GB, free: 13.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.424, allocations: 0 / 0.545 GB, free: 13.84 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.424, allocations: 3.938 kB / 0.545 GB, free: 13.84 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004027/0.4244, allocations: 323.1 kB / 0.5453 GB, free: 13.51 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.4244, allocations: 12.92 kB / 0.5453 GB, free: 13.51 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.196e-05/0.4244, allocations: 45.14 kB / 0.5454 GB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.29e-05/0.4245, allocations: 11.89 kB / 0.5454 GB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.4246, allocations: 117.8 kB / 0.5455 GB, free: 13.32 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.4246, allocations: 2.031 kB / 0.5455 GB, free: 13.32 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.007e-05/0.4246, allocations: 3.938 kB / 0.5455 GB, free: 13.31 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.4248, allocations: 113.7 kB / 0.5456 GB, free: 13.23 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.4248, allocations: 3.984 kB / 0.5456 GB, free: 13.22 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.4248, allocations: 5.031 kB / 0.5456 GB, free: 13.22 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.4248, allocations: 0 / 0.5456 GB, free: 13.22 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.785e-05/0.4249, allocations: 77.52 kB / 0.5457 GB, free: 13.17 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001565/0.4251, allocations: 131 kB / 0.5458 GB, free: 13.01 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001316/0.4252, allocations: 103.8 kB / 0.5459 GB, free: 12.93 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.774e-05/0.4253, allocations: 77.7 kB / 0.546 GB, free: 12.88 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.738e-06/0.4253, allocations: 5.219 kB / 0.546 GB, free: 12.88 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.4253, allocations: 35.77 kB / 0.546 GB, free: 12.83 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.092e-06/0.4254, allocations: 3.938 kB / 0.546 GB, free: 12.83 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003779/0.4257, allocations: 282.8 kB / 0.5463 GB, free: 12.65 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.923e-05/0.4258, allocations: 90.19 kB / 0.5464 GB, free: 12.55 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.4259, allocations: 117.5 kB / 0.5465 GB, free: 12.45 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.4259, allocations: 30.91 kB / 0.5465 GB, free: 12.41 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.993e-05/0.426, allocations: 89.22 kB / 0.5466 GB, free: 12.32 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.425e-05/0.426, allocations: 44.64 kB / 0.5467 GB, free: 12.28 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.724e-05/0.4261, allocations: 21.03 kB / 0.5467 GB, free: 12.26 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.4262, allocations: 325.5 kB / 0.547 GB, free: 11.94 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.344e-05/0.4263, allocations: 77.92 kB / 0.5471 GB, free: 11.89 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.686e-05/0.4264, allocations: 81.52 kB / 0.5472 GB, free: 11.84 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001889/0.4266, allocations: 182.9 kB / 0.5473 GB, free: 11.73 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.4266, allocations: 0 / 0.5473 GB, free: 11.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002307/0.4268, allocations: 208.1 kB / 0.5475 GB, free: 11.59 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.884e-05/0.4269, allocations: 51.25 kB / 0.5476 GB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.4269, allocations: 0 / 0.5476 GB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.4269, allocations: 64 / 0.5476 GB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.925e-06/0.4269, allocations: 9.078 kB / 0.5476 GB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.4269, allocations: 0 / 0.5476 GB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.754e-05/0.4269, allocations: 7.531 kB / 0.5476 GB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.95e-05/0.4269, allocations: 6.25 kB / 0.5476 GB, free: 11.54 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.0001385/0.4271, allocations: 168.8 kB / 0.5478 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.08e-05/0.4271, allocations: 13.69 kB / 0.5478 GB, free: 11.37 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.689e-05/0.4271, allocations: 9.469 kB / 0.5478 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.4271, allocations: 1.156 kB / 0.5478 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.4271, allocations: 0 / 0.5478 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.4271, allocations: 1.125 kB / 0.5478 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001282/0.4273, allocations: 143.5 kB / 0.5479 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.4273, allocations: 5 kB / 0.5479 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.71e-07/0.4273, allocations: 0 / 0.5479 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.4273, allocations: 3.938 kB / 0.5479 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.4273, allocations: 3.375 kB / 0.5479 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.041e-06/0.4273, allocations: 0 / 0.5479 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.4273, allocations: 1.094 kB / 0.5479 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003778/0.4276, allocations: 319.1 kB / 0.5482 GB, free: 10.97 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.686e-05/0.4277, allocations: 14.41 kB / 0.5483 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.994e-05/0.4277, allocations: 2.438 kB / 0.5483 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.884e-05/0.4277, allocations: 2.594 kB / 0.5483 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.614e-05/0.4277, allocations: 5.438 kB / 0.5483 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/0.4277, allocations: 2.812 kB / 0.5483 GB, free: 10.96 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.258e-05/0.4278, allocations: 94.42 kB / 0.5484 GB, free: 10.88 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4278, allocations: 0 / 0.5484 GB, free: 10.88 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002392/0.428, allocations: 39.88 kB / 0.5484 GB, free: 10.86 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.0007459/0.4288, allocations: 0.8571 MB / 0.5492 GB, free: 10.13 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000381/0.4292, allocations: 311.7 kB / 0.5495 GB, free: 9.934 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4292, allocations: 1.125 kB / 0.5495 GB, free: 9.934 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001908/0.4293, allocations: 195.7 kB / 0.5497 GB, free: 9.797 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002711/0.4296, allocations: 17.69 kB / 0.5497 GB, free: 9.789 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001954/0.4316, allocations: 2.012 MB / 0.5517 GB, free: 8.191 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.534e-05/0.4316, allocations: 85.5 kB / 0.5518 GB, free: 8.109 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.539e-05/0.4317, allocations: 0 / 0.5518 GB, free: 8.109 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.654e-05/0.4317, allocations: 21.05 kB / 0.5518 GB, free: 8.09 MB / 398.1 MB Notification: Performance of SimCode: time 2.8e-07/0.4317, allocations: 0 / 0.5518 GB, free: 8.09 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03263/0.4643, allocations: 3.144 MB / 0.5549 GB, free: 6.242 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.76, allocations: 7.844 kB / 0.5549 GB, free: 6.238 MB / 398.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.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.701961708720773]