Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.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.00169/0.00169, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.002445/0.002445, allocations: 212.5 kB / 24.51 MB, free: 3.914 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.597/1.597, allocations: 230.6 MB / 258.3 MB, free: 7.727 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.1967/0.1967, allocations: 38.56 MB / 353.2 MB, free: 12.25 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_matrixEqCirc2,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc2",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.002044/0.002044, allocations: 66.41 kB / 493.3 MB, free: 4.633 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4049/0.4069, allocations: 62.47 MB / 0.5427 GB, free: 204 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2): time 0.003961/0.4109, allocations: 2.134 MB / 0.5448 GB, free: 14.52 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009623/0.4119, allocations: 0.5166 MB / 0.5453 GB, free: 14.13 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.586e-05/0.4119, allocations: 1.281 kB / 0.5453 GB, free: 14.13 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001522/0.4121, allocations: 10.61 kB / 0.5453 GB, free: 14.12 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.72e-05/0.4122, allocations: 29.14 kB / 0.5453 GB, free: 14.1 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004072/0.4126, allocations: 77.44 kB / 0.5454 GB, free: 14.04 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001534/0.4127, allocations: 65.33 kB / 0.5455 GB, free: 14.01 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.646e-05/0.4128, allocations: 2.125 kB / 0.5455 GB, free: 14.01 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000191/0.413, allocations: 36.59 kB / 0.5455 GB, free: 13.99 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.508e-05/0.413, allocations: 33.08 kB / 0.5455 GB, free: 13.97 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.208e-05/0.4131, allocations: 1.312 kB / 0.5456 GB, free: 13.97 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002397/0.4133, allocations: 112 kB / 0.5457 GB, free: 13.89 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.206e-05/0.4134, allocations: 25.98 kB / 0.5457 GB, free: 13.88 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.138e-05/0.4134, allocations: 24.44 kB / 0.5457 GB, free: 13.86 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00023/0.4136, allocations: 127 kB / 0.5458 GB, free: 13.79 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.4136, allocations: 8 kB / 0.5458 GB, free: 13.79 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.4136, allocations: 0 / 0.5458 GB, free: 13.79 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.4136, allocations: 1.062 kB / 0.5458 GB, free: 13.79 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0004797/0.4141, allocations: 361.9 kB / 0.5462 GB, free: 13.44 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.4142, allocations: 13.39 kB / 0.5462 GB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.733e-05/0.4142, allocations: 1.438 kB / 0.5462 GB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.24e-05/0.4142, allocations: 43.48 kB / 0.5462 GB, free: 13.39 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.766e-05/0.4143, allocations: 12.47 kB / 0.5462 GB, free: 13.38 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001925/0.4145, allocations: 131.2 kB / 0.5464 GB, free: 13.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.4145, allocations: 5.312 kB / 0.5464 GB, free: 13.23 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/0.4145, allocations: 1.375 kB / 0.5464 GB, free: 13.23 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002359/0.4147, allocations: 165 kB / 0.5465 GB, free: 13.12 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.4147, allocations: 0 / 0.5465 GB, free: 13.12 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.4147, allocations: 5.312 kB / 0.5465 GB, free: 13.12 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.966e-06/0.4147, allocations: 0 / 0.5465 GB, free: 13.12 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001508/0.4149, allocations: 128.3 kB / 0.5467 GB, free: 13.05 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001923/0.4151, allocations: 155.2 kB / 0.5468 GB, free: 12.88 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001797/0.4153, allocations: 148.2 kB / 0.547 GB, free: 12.78 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001501/0.4154, allocations: 129.8 kB / 0.5471 GB, free: 12.71 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.618e-06/0.4154, allocations: 3.938 kB / 0.5471 GB, free: 12.71 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.012e-05/0.4155, allocations: 41.3 kB / 0.5471 GB, free: 12.66 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 1.012e-06/0.4155, allocations: 4 kB / 0.5471 GB, free: 12.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.0007125/0.4162, allocations: 469.2 kB / 0.5476 GB, free: 12.41 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.929e-05/0.4163, allocations: 100.1 kB / 0.5477 GB, free: 12.31 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.4164, allocations: 131.8 kB / 0.5478 GB, free: 12.2 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.4164, allocations: 26.83 kB / 0.5478 GB, free: 12.17 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.472e-05/0.4165, allocations: 96.09 kB / 0.5479 GB, free: 12.07 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.018e-05/0.4166, allocations: 76.45 kB / 0.548 GB, free: 12.01 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.618e-05/0.4166, allocations: 23.84 kB / 0.548 GB, free: 11.99 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.4168, allocations: 324 kB / 0.5483 GB, free: 11.67 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001407/0.4169, allocations: 127.7 kB / 0.5484 GB, free: 11.6 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001396/0.4171, allocations: 139.5 kB / 0.5486 GB, free: 11.53 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003544/0.4174, allocations: 295.7 kB / 0.5489 GB, free: 11.38 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.4174, allocations: 0 / 0.5489 GB, free: 11.38 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004223/0.4179, allocations: 323 kB / 0.5492 GB, free: 11.2 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.811e-05/0.418, allocations: 68.5 kB / 0.5492 GB, free: 11.15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.418, allocations: 1.344 kB / 0.5492 GB, free: 11.15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.503e-05/0.418, allocations: 0 / 0.5492 GB, free: 11.15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.563e-06/0.418, allocations: 0 / 0.5492 GB, free: 11.15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.418, allocations: 1.375 kB / 0.5492 GB, free: 11.15 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.787e-05/0.418, allocations: 12.98 kB / 0.5492 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.798e-05/0.4181, allocations: 4.75 kB / 0.5492 GB, free: 11.14 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.0002127/0.4183, allocations: 197.5 kB / 0.5494 GB, free: 10.97 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.867e-05/0.4183, allocations: 16.47 kB / 0.5494 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.966e-05/0.4183, allocations: 8 kB / 0.5495 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.4183, allocations: 5.641 kB / 0.5495 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.4183, allocations: 0 / 0.5495 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.4183, allocations: 0 / 0.5495 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001602/0.4185, allocations: 163.7 kB / 0.5496 GB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.4185, allocations: 5.812 kB / 0.5496 GB, free: 10.76 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.91e-07/0.4185, allocations: 0 / 0.5496 GB, free: 10.76 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.4185, allocations: 0 / 0.5496 GB, free: 10.76 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.798e-05/0.4185, allocations: 4.969 kB / 0.5496 GB, free: 10.76 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.4185, allocations: 7.984 kB / 0.5496 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4185, allocations: 0 / 0.5496 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000672/0.4192, allocations: 0.5225 MB / 0.5501 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.49e-05/0.4192, allocations: 16.06 kB / 0.5502 GB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.821e-05/0.4193, allocations: 4.344 kB / 0.5502 GB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.625e-05/0.4193, allocations: 3.344 kB / 0.5502 GB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.948e-05/0.4193, allocations: 6.438 kB / 0.5502 GB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.4193, allocations: 5.25 kB / 0.5502 GB, free: 10.45 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.031e-05/0.4194, allocations: 105.8 kB / 0.5503 GB, free: 10.36 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4194, allocations: 0 / 0.5503 GB, free: 10.36 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002877/0.4197, allocations: 52.31 kB / 0.5503 GB, free: 10.35 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.001081/0.4208, allocations: 1.058 MB / 0.5514 GB, free: 9.547 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007102/0.4215, allocations: 0.4983 MB / 0.5519 GB, free: 9.285 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.4215, allocations: 0.9688 kB / 0.5519 GB, free: 9.285 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003675/0.4219, allocations: 297.8 kB / 0.5521 GB, free: 9.117 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002845/0.4222, allocations: 16.3 kB / 0.5522 GB, free: 9.113 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003146/0.4253, allocations: 2.8 MB / 0.5549 GB, free: 7.184 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001104/0.4254, allocations: 105 kB / 0.555 GB, free: 7.055 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.431e-05/0.4254, allocations: 4 kB / 0.555 GB, free: 7.051 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.161e-05/0.4255, allocations: 31.42 kB / 0.555 GB, free: 7.02 MB / 398.1 MB Notification: Performance of SimCode: time 1.512e-06/0.4255, allocations: 0 / 0.555 GB, free: 7.02 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02506/0.4505, allocations: 3.905 MB / 0.5588 GB, free: 3.25 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.85, allocations: 7.922 kB / 0.5588 GB, free: 3.242 MB / 398.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc2_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc2.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.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.87696128396783]