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.001764/0.001764, allocations: 113.2 kB / 20.44 MB, free: 1.324 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.001801/0.001801, allocations: 214 kB / 23.74 MB, free: 4.539 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.467/1.467, allocations: 230.6 MB / 257.5 MB, free: 7.988 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.1814/0.1814, allocations: 38.52 MB / 352.4 MB, free: 12.56 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc2",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.001993/0.001993, allocations: 70.88 kB / 492.5 MB, free: 4.898 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3862/0.3882, allocations: 62.48 MB / 0.542 GB, free: 456 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2): time 0.00352/0.3917, allocations: 2.151 MB / 0.5441 GB, free: 14.74 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008828/0.3926, allocations: 0.5576 MB / 0.5447 GB, free: 14.31 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.151e-05/0.3926, allocations: 5.688 kB / 0.5447 GB, free: 14.31 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001369/0.3927, allocations: 13.7 kB / 0.5447 GB, free: 14.3 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.945e-05/0.3928, allocations: 29.3 kB / 0.5447 GB, free: 14.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003817/0.3932, allocations: 77.22 kB / 0.5448 GB, free: 14.22 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001233/0.3933, allocations: 61.39 kB / 0.5448 GB, free: 14.19 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.235e-05/0.3934, allocations: 2.625 kB / 0.5448 GB, free: 14.19 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001331/0.3935, allocations: 35.66 kB / 0.5449 GB, free: 14.17 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.806e-05/0.3936, allocations: 37.14 kB / 0.5449 GB, free: 14.14 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.065e-05/0.3936, allocations: 3.219 kB / 0.5449 GB, free: 14.14 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002312/0.3938, allocations: 122.5 kB / 0.545 GB, free: 14.05 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.89e-05/0.3939, allocations: 26.55 kB / 0.5451 GB, free: 14.04 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.587e-05/0.3939, allocations: 43.91 kB / 0.5451 GB, free: 14.01 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002159/0.3941, allocations: 131.1 kB / 0.5452 GB, free: 13.94 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3941, allocations: 0 / 0.5452 GB, free: 13.94 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3941, allocations: 0 / 0.5452 GB, free: 13.94 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.3941, allocations: 1.375 kB / 0.5452 GB, free: 13.94 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.0004547/0.3946, allocations: 363.1 kB / 0.5456 GB, free: 13.59 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.3946, allocations: 13.36 kB / 0.5456 GB, free: 13.59 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.313e-05/0.3947, allocations: 42.88 kB / 0.5456 GB, free: 13.54 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.335e-05/0.3947, allocations: 12.62 kB / 0.5456 GB, free: 13.53 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001765/0.3949, allocations: 143.9 kB / 0.5458 GB, free: 13.38 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.3949, allocations: 384 / 0.5458 GB, free: 13.38 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.488e-06/0.3949, allocations: 5.406 kB / 0.5458 GB, free: 13.37 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.3951, allocations: 91.12 kB / 0.5459 GB, free: 13.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.3951, allocations: 0 / 0.5459 GB, free: 13.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/0.3951, allocations: 1.406 kB / 0.5459 GB, free: 13.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.3951, allocations: 0 / 0.5459 GB, free: 13.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.688e-05/0.3952, allocations: 55.09 kB / 0.5459 GB, free: 13.3 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001785/0.3954, allocations: 155 kB / 0.5461 GB, free: 13.12 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.924e-05/0.3955, allocations: 85.72 kB / 0.5461 GB, free: 13.07 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.635e-05/0.3955, allocations: 64.23 kB / 0.5462 GB, free: 13.04 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.728e-06/0.3955, allocations: 0 / 0.5462 GB, free: 13.04 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/0.3956, allocations: 31.72 kB / 0.5462 GB, free: 13 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 9.02e-07/0.3956, allocations: 0 / 0.5462 GB, free: 13 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.0005024/0.3961, allocations: 306.5 kB / 0.5465 GB, free: 12.86 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.562e-05/0.3962, allocations: 91.33 kB / 0.5466 GB, free: 12.77 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001458/0.3963, allocations: 145.2 kB / 0.5468 GB, free: 12.64 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.558e-05/0.3963, allocations: 25.7 kB / 0.5468 GB, free: 12.61 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.728e-05/0.3964, allocations: 91.73 kB / 0.5469 GB, free: 12.52 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.046e-05/0.3965, allocations: 81.88 kB / 0.5469 GB, free: 12.45 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.357e-05/0.3965, allocations: 26.52 kB / 0.547 GB, free: 12.43 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.3967, allocations: 323.8 kB / 0.5473 GB, free: 12.11 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.825e-05/0.3968, allocations: 54.55 kB / 0.5473 GB, free: 12.09 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.295e-05/0.3968, allocations: 61.33 kB / 0.5474 GB, free: 12.07 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002452/0.3971, allocations: 249.4 kB / 0.5476 GB, free: 11.95 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.3971, allocations: 3.938 kB / 0.5476 GB, free: 11.95 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002688/0.3973, allocations: 233.2 kB / 0.5479 GB, free: 11.82 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.767e-05/0.3974, allocations: 65.25 kB / 0.5479 GB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3974, allocations: 0 / 0.5479 GB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.3974, allocations: 0 / 0.5479 GB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.233e-06/0.3974, allocations: 1.062 kB / 0.5479 GB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.3975, allocations: 0 / 0.5479 GB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.108e-05/0.3975, allocations: 13.42 kB / 0.5479 GB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.159e-05/0.3975, allocations: 4.188 kB / 0.5479 GB, free: 11.77 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.0001796/0.3977, allocations: 197.8 kB / 0.5481 GB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.692e-05/0.3977, allocations: 17.31 kB / 0.5481 GB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.807e-05/0.3977, allocations: 15.91 kB / 0.5482 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.3977, allocations: 3.984 kB / 0.5482 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.3977, allocations: 3.984 kB / 0.5482 GB, free: 11.56 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.3978, allocations: 1.188 kB / 0.5482 GB, free: 11.56 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000159/0.3979, allocations: 167.9 kB / 0.5483 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.3979, allocations: 0 / 0.5483 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.3979, allocations: 0 / 0.5483 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.3979, allocations: 5.219 kB / 0.5483 GB, free: 11.37 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.3979, allocations: 4.625 kB / 0.5483 GB, free: 11.37 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.3979, allocations: 4 kB / 0.5483 GB, free: 11.37 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3979, allocations: 0 / 0.5483 GB, free: 11.37 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006186/0.3986, allocations: 0.5129 MB / 0.5488 GB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.915e-05/0.3986, allocations: 16.31 kB / 0.5489 GB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/0.3986, allocations: 3.906 kB / 0.5489 GB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.541e-05/0.3986, allocations: 4.156 kB / 0.5489 GB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.469e-05/0.3986, allocations: 13.2 kB / 0.5489 GB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.3987, allocations: 5.344 kB / 0.5489 GB, free: 11.09 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.249e-05/0.3987, allocations: 105.6 kB / 0.549 GB, free: 11.01 MB / 398.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3987, allocations: 0 / 0.549 GB, free: 11.01 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002577/0.399, allocations: 45.03 kB / 0.549 GB, free: 11 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.0009686/0.4, allocations: 1.056 MB / 0.5501 GB, free: 10.23 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005657/0.4005, allocations: 457.5 kB / 0.5505 GB, free: 10.04 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.4005, allocations: 0 / 0.5505 GB, free: 10.04 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003216/0.4008, allocations: 312.6 kB / 0.5508 GB, free: 9.895 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002339/0.4011, allocations: 16.2 kB / 0.5508 GB, free: 9.891 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002783/0.4039, allocations: 2.482 MB / 0.5532 GB, free: 8.215 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000359/0.4042, allocations: 0.7185 MB / 0.5539 GB, free: 7.5 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.946e-05/0.4042, allocations: 5.156 kB / 0.5539 GB, free: 7.496 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.486e-05/0.4043, allocations: 33.58 kB / 0.554 GB, free: 7.465 MB / 398.1 MB Notification: Performance of SimCode: time 3e-07/0.4043, allocations: 0 / 0.554 GB, free: 7.465 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03308/0.4374, allocations: 3.836 MB / 0.5577 GB, free: 4.074 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.75, allocations: 3.984 kB / 0.5577 GB, free: 4.07 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.559150038054213]