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.001636/0.001636, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002078/0.002078, allocations: 216.9 kB / 23.75 MB, free: 4.668 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.48/1.48, allocations: 230.6 MB / 257.5 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.1848/0.1848, allocations: 38.52 MB / 352.5 MB, free: 12.54 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc3",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.002479/0.002479, allocations: 67.91 kB / 492.5 MB, free: 4.867 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3954/0.3979, allocations: 62.47 MB / 0.542 GB, free: 424 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.004087/0.402, allocations: 2.155 MB / 0.5441 GB, free: 14.71 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001124/0.4031, allocations: 0.5606 MB / 0.5447 GB, free: 14.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.729e-05/0.4032, allocations: 1.844 kB / 0.5447 GB, free: 14.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001813/0.4033, allocations: 9.828 kB / 0.5447 GB, free: 14.27 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001129/0.4034, allocations: 31.05 kB / 0.5447 GB, free: 14.24 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004949/0.4039, allocations: 73.31 kB / 0.5448 GB, free: 14.19 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001867/0.4041, allocations: 75.66 kB / 0.5448 GB, free: 14.14 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.263e-05/0.4042, allocations: 2.688 kB / 0.5448 GB, free: 14.14 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001731/0.4044, allocations: 36.19 kB / 0.5449 GB, free: 14.12 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.722e-05/0.4044, allocations: 28.92 kB / 0.5449 GB, free: 14.11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.324e-05/0.4044, allocations: 2.031 kB / 0.5449 GB, free: 14.11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000256/0.4047, allocations: 123.6 kB / 0.545 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.049e-05/0.4048, allocations: 45.17 kB / 0.5451 GB, free: 14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.661e-05/0.4049, allocations: 42.56 kB / 0.5451 GB, free: 13.96 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002662/0.4051, allocations: 157.8 kB / 0.5453 GB, free: 13.88 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.4051, allocations: 3.938 kB / 0.5453 GB, free: 13.88 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.4051, allocations: 4 kB / 0.5453 GB, free: 13.87 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.4051, allocations: 0 / 0.5453 GB, free: 13.87 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.000561/0.4057, allocations: 410 kB / 0.5457 GB, free: 13.5 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.4057, allocations: 13.05 kB / 0.5457 GB, free: 13.49 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.818e-05/0.4058, allocations: 49.27 kB / 0.5457 GB, free: 13.44 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.407e-05/0.4058, allocations: 18.55 kB / 0.5457 GB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002097/0.4061, allocations: 145.8 kB / 0.5459 GB, free: 13.27 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.083e-06/0.4061, allocations: 0 / 0.5459 GB, free: 13.27 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.346e-05/0.4061, allocations: 1.125 kB / 0.5459 GB, free: 13.27 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002175/0.4063, allocations: 132 kB / 0.546 GB, free: 13.2 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.4063, allocations: 0 / 0.546 GB, free: 13.2 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.4063, allocations: 0 / 0.546 GB, free: 13.2 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.4063, allocations: 1.094 kB / 0.546 GB, free: 13.2 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001135/0.4064, allocations: 93.02 kB / 0.5461 GB, free: 13.17 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000202/0.4066, allocations: 173.7 kB / 0.5463 GB, free: 12.98 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001456/0.4068, allocations: 108.9 kB / 0.5464 GB, free: 12.93 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001112/0.4069, allocations: 98.31 kB / 0.5465 GB, free: 12.89 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.589e-06/0.4069, allocations: 4 kB / 0.5465 GB, free: 12.88 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/0.4069, allocations: 31.91 kB / 0.5465 GB, free: 12.84 MB / 398.1 MB Notification: Performance of pre-optimization done (n=40): time 1.342e-06/0.4069, allocations: 0 / 0.5465 GB, free: 12.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.0006755/0.4076, allocations: 480.8 kB / 0.547 GB, free: 12.66 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.309e-05/0.4077, allocations: 112.7 kB / 0.5471 GB, free: 12.55 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/0.4078, allocations: 145.2 kB / 0.5472 GB, free: 12.43 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.4078, allocations: 29.69 kB / 0.5472 GB, free: 12.39 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.234e-05/0.4079, allocations: 96.61 kB / 0.5473 GB, free: 12.29 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001263/0.408, allocations: 142.7 kB / 0.5475 GB, free: 12.17 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-05/0.4081, allocations: 35.11 kB / 0.5475 GB, free: 12.14 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001765/0.4083, allocations: 341.5 kB / 0.5478 GB, free: 11.8 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001036/0.4084, allocations: 88.62 kB / 0.5479 GB, free: 11.78 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001082/0.4085, allocations: 92.94 kB / 0.548 GB, free: 11.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003934/0.4089, allocations: 370.6 kB / 0.5483 GB, free: 11.58 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.4089, allocations: 1.188 kB / 0.5483 GB, free: 11.58 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004129/0.4093, allocations: 322.6 kB / 0.5486 GB, free: 11.43 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001086/0.4094, allocations: 90.66 kB / 0.5487 GB, free: 11.37 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.4094, allocations: 1.125 kB / 0.5487 GB, free: 11.37 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.4094, allocations: 0 / 0.5487 GB, free: 11.37 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.82e-07/0.4094, allocations: 0 / 0.5487 GB, free: 11.37 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.4094, allocations: 4.969 kB / 0.5487 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.27e-05/0.4095, allocations: 20.38 kB / 0.5488 GB, free: 11.35 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.704e-05/0.4095, allocations: 6.469 kB / 0.5488 GB, free: 11.35 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.0002374/0.4097, allocations: 232.8 kB / 0.549 GB, free: 11.17 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.659e-05/0.4098, allocations: 24.89 kB / 0.549 GB, free: 11.16 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.916e-05/0.4098, allocations: 13.78 kB / 0.549 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.4098, allocations: 0 / 0.549 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.4098, allocations: 0 / 0.549 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.4098, allocations: 9.469 kB / 0.549 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002058/0.41, allocations: 198.3 kB / 0.5492 GB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.41, allocations: 4 kB / 0.5492 GB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.475e-06/0.41, allocations: 3.984 kB / 0.5492 GB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-06/0.41, allocations: 0 / 0.5492 GB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.992e-05/0.4101, allocations: 7.375 kB / 0.5492 GB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.4101, allocations: 0 / 0.5492 GB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.4101, allocations: 0 / 0.5492 GB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00107/0.4111, allocations: 0.913 MB / 0.5501 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.212e-05/0.4112, allocations: 25.61 kB / 0.5502 GB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.332e-05/0.4112, allocations: 5.438 kB / 0.5502 GB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.622e-05/0.4112, allocations: 6 kB / 0.5502 GB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.412e-05/0.4113, allocations: 6.156 kB / 0.5502 GB, free: 10.51 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.656e-05/0.4113, allocations: 6.469 kB / 0.5502 GB, free: 10.51 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001011/0.4114, allocations: 118.7 kB / 0.5503 GB, free: 10.42 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4114, allocations: 4.031 kB / 0.5503 GB, free: 10.41 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002971/0.4117, allocations: 62.66 kB / 0.5504 GB, free: 10.41 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.001649/0.4133, allocations: 1.458 MB / 0.5518 GB, free: 9.496 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001075/0.4144, allocations: 0.8173 MB / 0.5526 GB, free: 9.184 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.4144, allocations: 0 / 0.5526 GB, free: 9.184 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007504/0.4152, allocations: 0.6043 MB / 0.5532 GB, free: 8.707 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003194/0.4155, allocations: 34.75 kB / 0.5532 GB, free: 8.676 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004161/0.4196, allocations: 3.461 MB / 0.5566 GB, free: 5.125 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005464/0.4202, allocations: 0.7478 MB / 0.5573 GB, free: 4.348 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.811e-05/0.4202, allocations: 0 / 0.5573 GB, free: 4.348 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.979e-05/0.4203, allocations: 43.41 kB / 0.5574 GB, free: 4.305 MB / 398.1 MB Notification: Performance of SimCode: time 1.112e-06/0.4203, allocations: 0 / 0.5574 GB, free: 4.305 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04063/0.4609, allocations: 5.213 MB / 0.5624 GB, free: 15.23 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.64, allocations: 6.344 kB / 0.5624 GB, free: 15.22 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.488604130921885]