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.001792/0.001792, 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.001743/0.001743, allocations: 217.3 kB / 24.52 MB, free: 3.91 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.514/1.514, allocations: 230.6 MB / 258.3 MB, free: 7.777 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.1886/0.1886, allocations: 38.55 MB / 353.2 MB, free: 12.32 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1",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.001983/0.001983, allocations: 59.91 kB / 493.3 MB, free: 4.719 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3561/0.358, allocations: 62.48 MB / 0.5427 GB, free: 252 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.004165/0.3622, allocations: 2.132 MB / 0.5448 GB, free: 14.56 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009451/0.3632, allocations: 0.5223 MB / 0.5453 GB, free: 14.17 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.746e-05/0.3632, allocations: 0 / 0.5453 GB, free: 14.17 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001481/0.3633, allocations: 9.859 kB / 0.5453 GB, free: 14.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001449/0.3635, allocations: 30.78 kB / 0.5453 GB, free: 14.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003801/0.3639, allocations: 76.62 kB / 0.5454 GB, free: 14.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001374/0.364, allocations: 61.94 kB / 0.5455 GB, free: 14.05 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.956e-05/0.3641, allocations: 1.312 kB / 0.5455 GB, free: 14.05 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001458/0.3642, allocations: 40.78 kB / 0.5455 GB, free: 14.03 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.87e-05/0.3643, allocations: 28.94 kB / 0.5455 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.135e-05/0.3643, allocations: 1.5 kB / 0.5455 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002369/0.3645, allocations: 115.9 kB / 0.5457 GB, free: 13.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.706e-05/0.3646, allocations: 12.81 kB / 0.5457 GB, free: 13.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.682e-05/0.3646, allocations: 20.98 kB / 0.5457 GB, free: 13.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002018/0.3648, allocations: 106.2 kB / 0.5458 GB, free: 13.86 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3648, allocations: 0 / 0.5458 GB, free: 13.86 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.3648, allocations: 0 / 0.5458 GB, free: 13.86 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.3648, allocations: 1.719 kB / 0.5458 GB, free: 13.86 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.0004767/0.3653, allocations: 325.8 kB / 0.5461 GB, free: 13.53 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.3653, allocations: 17.95 kB / 0.5461 GB, free: 13.52 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.895e-05/0.3654, allocations: 9.25 kB / 0.5461 GB, free: 13.51 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.237e-05/0.3654, allocations: 36.84 kB / 0.5462 GB, free: 13.47 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.488e-05/0.3654, allocations: 8.234 kB / 0.5462 GB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001792/0.3656, allocations: 130 kB / 0.5463 GB, free: 13.32 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.3656, allocations: 4.125 kB / 0.5463 GB, free: 13.32 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.218e-06/0.3656, allocations: 1.219 kB / 0.5463 GB, free: 13.32 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.3658, allocations: 106.7 kB / 0.5464 GB, free: 13.24 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.3658, allocations: 0 / 0.5464 GB, free: 13.24 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.3658, allocations: 0 / 0.5464 GB, free: 13.24 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.3658, allocations: 5.359 kB / 0.5464 GB, free: 13.23 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.296e-05/0.3659, allocations: 85.42 kB / 0.5465 GB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001582/0.3661, allocations: 129 kB / 0.5466 GB, free: 13.02 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001251/0.3662, allocations: 101.2 kB / 0.5467 GB, free: 12.94 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.928e-05/0.3663, allocations: 86.16 kB / 0.5468 GB, free: 12.88 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.688e-06/0.3663, allocations: 0 / 0.5468 GB, free: 12.88 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.789e-05/0.3663, allocations: 31.91 kB / 0.5468 GB, free: 12.84 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 9.72e-07/0.3663, allocations: 0 / 0.5468 GB, free: 12.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004031/0.3667, allocations: 294.9 kB / 0.5471 GB, free: 12.66 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.65e-05/0.3668, allocations: 89.16 kB / 0.5472 GB, free: 12.56 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.3669, allocations: 122.6 kB / 0.5473 GB, free: 12.45 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.367, allocations: 30.98 kB / 0.5473 GB, free: 12.41 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.971e-05/0.367, allocations: 89.12 kB / 0.5474 GB, free: 12.32 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.404e-05/0.3671, allocations: 41.45 kB / 0.5475 GB, free: 12.29 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.461e-05/0.3671, allocations: 24.48 kB / 0.5475 GB, free: 12.26 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.3673, allocations: 326.3 kB / 0.5478 GB, free: 11.94 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.159e-05/0.3674, allocations: 73 kB / 0.5479 GB, free: 11.89 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.594e-05/0.3674, allocations: 77.48 kB / 0.5479 GB, free: 11.85 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001913/0.3676, allocations: 173.6 kB / 0.5481 GB, free: 11.74 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.3676, allocations: 3.938 kB / 0.5481 GB, free: 11.74 MB / 398.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002573/0.3679, allocations: 211.8 kB / 0.5483 GB, free: 11.6 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.304e-05/0.3679, allocations: 53.05 kB / 0.5484 GB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.3679, allocations: 0 / 0.5484 GB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.368, allocations: 1.5 kB / 0.5484 GB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.01e-07/0.368, allocations: 0 / 0.5484 GB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.368, allocations: 0 / 0.5484 GB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.202e-05/0.368, allocations: 6.656 kB / 0.5484 GB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.968e-05/0.368, allocations: 3.531 kB / 0.5484 GB, free: 11.55 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.0001518/0.3682, allocations: 171.9 kB / 0.5485 GB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.977e-05/0.3682, allocations: 13.47 kB / 0.5485 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.994e-05/0.3682, allocations: 11.12 kB / 0.5486 GB, free: 11.37 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.3682, allocations: 0 / 0.5486 GB, free: 11.37 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3682, allocations: 4 kB / 0.5486 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.3682, allocations: 3.938 kB / 0.5486 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001336/0.3684, allocations: 144.4 kB / 0.5487 GB, free: 11.19 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.3684, allocations: 1.156 kB / 0.5487 GB, free: 11.19 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.3684, allocations: 0 / 0.5487 GB, free: 11.19 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.3684, allocations: 1.156 kB / 0.5487 GB, free: 11.19 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.3684, allocations: 2.25 kB / 0.5487 GB, free: 11.19 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.3684, allocations: 4 kB / 0.5487 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3684, allocations: 1.188 kB / 0.5487 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003832/0.3688, allocations: 326.7 kB / 0.549 GB, free: 10.97 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.552e-05/0.3688, allocations: 15.11 kB / 0.549 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.038e-05/0.3688, allocations: 2.188 kB / 0.549 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.973e-05/0.3688, allocations: 2.062 kB / 0.549 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.938e-05/0.3688, allocations: 2.156 kB / 0.549 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-05/0.3688, allocations: 7.297 kB / 0.549 GB, free: 10.96 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.492e-05/0.3689, allocations: 93.75 kB / 0.5491 GB, free: 10.88 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3689, allocations: 0 / 0.5491 GB, free: 10.88 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000235/0.3691, allocations: 32.31 kB / 0.5492 GB, free: 10.87 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.0007938/0.3699, allocations: 0.8577 MB / 0.55 GB, free: 10.14 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000398/0.3703, allocations: 319.7 kB / 0.5503 GB, free: 9.934 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3703, allocations: 0 / 0.5503 GB, free: 9.934 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001951/0.3705, allocations: 188.1 kB / 0.5505 GB, free: 9.805 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003016/0.3708, allocations: 17.36 kB / 0.5505 GB, free: 9.797 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002128/0.373, allocations: 2.015 MB / 0.5525 GB, free: 8.199 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.575e-05/0.3731, allocations: 84 kB / 0.5526 GB, free: 8.117 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.787e-05/0.3731, allocations: 5.438 kB / 0.5526 GB, free: 8.113 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.495e-05/0.3731, allocations: 20.84 kB / 0.5526 GB, free: 8.094 MB / 398.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3731, allocations: 0 / 0.5526 GB, free: 8.094 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02459/0.3977, allocations: 2.816 MB / 0.5553 GB, free: 6.633 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.87, allocations: 6.641 kB / 0.5553 GB, free: 6.629 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.804667724994943]