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.001899/0.001899, 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.002343/0.002343, allocations: 208.9 kB / 23.73 MB, free: 4.387 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.532/1.532, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.1869/0.1869, 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_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.00215/0.00215, allocations: 78.39 kB / 492.5 MB, free: 4.637 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.356/0.3582, allocations: 62.47 MB / 0.542 GB, free: 216 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2): time 0.00366/0.3618, allocations: 2.124 MB / 0.544 GB, free: 14.54 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008856/0.3627, allocations: 0.5144 MB / 0.5445 GB, free: 14.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.745e-05/0.3628, allocations: 4.938 kB / 0.5445 GB, free: 14.15 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001345/0.3629, allocations: 10.23 kB / 0.5445 GB, free: 14.14 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.735e-05/0.363, allocations: 30.67 kB / 0.5446 GB, free: 14.12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003951/0.3634, allocations: 81.14 kB / 0.5447 GB, free: 14.06 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001304/0.3635, allocations: 65.12 kB / 0.5447 GB, free: 14.03 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.22e-05/0.3636, allocations: 6.344 kB / 0.5447 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001301/0.3637, allocations: 32.41 kB / 0.5448 GB, free: 14.01 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.182e-05/0.3638, allocations: 32.45 kB / 0.5448 GB, free: 13.99 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.098e-05/0.3638, allocations: 1.219 kB / 0.5448 GB, free: 13.99 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000214/0.364, allocations: 97.02 kB / 0.5449 GB, free: 13.92 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.671e-05/0.364, allocations: 30 kB / 0.5449 GB, free: 13.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.598e-05/0.3641, allocations: 24.22 kB / 0.5449 GB, free: 13.89 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002098/0.3643, allocations: 134.4 kB / 0.5451 GB, free: 13.82 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3643, allocations: 1.875 kB / 0.5451 GB, free: 13.82 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3643, allocations: 0 / 0.5451 GB, free: 13.82 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.3643, allocations: 0 / 0.5451 GB, free: 13.82 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.0004582/0.3648, allocations: 360.6 kB / 0.5454 GB, free: 13.47 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.3648, allocations: 14.77 kB / 0.5454 GB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.317e-05/0.3648, allocations: 41.86 kB / 0.5455 GB, free: 13.42 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.929e-05/0.3649, allocations: 12.72 kB / 0.5455 GB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001705/0.3651, allocations: 135 kB / 0.5456 GB, free: 13.27 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.3651, allocations: 4.375 kB / 0.5456 GB, free: 13.26 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.272e-05/0.3651, allocations: 9.094 kB / 0.5456 GB, free: 13.25 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002125/0.3653, allocations: 161.8 kB / 0.5458 GB, free: 13.15 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.732e-06/0.3653, allocations: 0 / 0.5458 GB, free: 13.15 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.3653, allocations: 1.562 kB / 0.5458 GB, free: 13.15 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.3653, allocations: 0 / 0.5458 GB, free: 13.15 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001507/0.3655, allocations: 129.1 kB / 0.5459 GB, free: 13.09 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001688/0.3656, allocations: 151 kB / 0.546 GB, free: 12.91 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001648/0.3658, allocations: 155.3 kB / 0.5462 GB, free: 12.81 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001254/0.3659, allocations: 129.9 kB / 0.5463 GB, free: 12.74 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.716e-06/0.3659, allocations: 1.375 kB / 0.5463 GB, free: 12.74 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.366, allocations: 31.94 kB / 0.5463 GB, free: 12.7 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 1.122e-06/0.366, allocations: 7.938 kB / 0.5463 GB, free: 12.69 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.000642/0.3666, allocations: 469.6 kB / 0.5468 GB, free: 12.45 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.144e-05/0.3667, allocations: 100.4 kB / 0.5469 GB, free: 12.35 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.3668, allocations: 133 kB / 0.547 GB, free: 12.23 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.3668, allocations: 26.83 kB / 0.547 GB, free: 12.2 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.587e-05/0.3669, allocations: 91.11 kB / 0.5471 GB, free: 12.11 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.52e-05/0.367, allocations: 80.66 kB / 0.5472 GB, free: 12.04 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.515e-05/0.367, allocations: 27.48 kB / 0.5472 GB, free: 12.02 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.3672, allocations: 324.5 kB / 0.5475 GB, free: 11.7 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/0.3673, allocations: 128.2 kB / 0.5477 GB, free: 11.63 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001319/0.3674, allocations: 131.3 kB / 0.5478 GB, free: 11.56 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002804/0.3677, allocations: 295.8 kB / 0.5481 GB, free: 11.41 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.3677, allocations: 3.938 kB / 0.5481 GB, free: 11.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003375/0.368, allocations: 319.1 kB / 0.5484 GB, free: 11.23 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.411e-05/0.3681, allocations: 65.25 kB / 0.5484 GB, free: 11.19 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.3681, allocations: 0 / 0.5484 GB, free: 11.19 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.3681, allocations: 0 / 0.5484 GB, free: 11.19 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.102e-06/0.3681, allocations: 1.375 kB / 0.5484 GB, free: 11.19 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.3682, allocations: 7.969 kB / 0.5485 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.131e-05/0.3682, allocations: 17.17 kB / 0.5485 GB, free: 11.17 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.025e-05/0.3682, allocations: 4.438 kB / 0.5485 GB, free: 11.17 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.000167/0.3684, allocations: 203 kB / 0.5487 GB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.414e-05/0.3684, allocations: 16.59 kB / 0.5487 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.163e-05/0.3684, allocations: 7.688 kB / 0.5487 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.3684, allocations: 0 / 0.5487 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3684, allocations: 0 / 0.5487 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.3684, allocations: 0.9062 kB / 0.5487 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001534/0.3686, allocations: 168.2 kB / 0.5488 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3686, allocations: 0 / 0.5488 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.263e-06/0.3686, allocations: 1.125 kB / 0.5489 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.3686, allocations: 0 / 0.5489 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/0.3686, allocations: 8.312 kB / 0.5489 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.3686, allocations: 0 / 0.5489 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3686, allocations: 1.125 kB / 0.5489 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000589/0.3692, allocations: 0.5146 MB / 0.5494 GB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.249e-05/0.3692, allocations: 16.53 kB / 0.5494 GB, free: 10.49 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.523e-05/0.3692, allocations: 11.72 kB / 0.5494 GB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.541e-05/0.3693, allocations: 4.375 kB / 0.5494 GB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.558e-05/0.3693, allocations: 9.219 kB / 0.5494 GB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/0.3693, allocations: 4.875 kB / 0.5494 GB, free: 10.48 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.016e-05/0.3694, allocations: 106 kB / 0.5495 GB, free: 10.39 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3694, allocations: 0 / 0.5495 GB, free: 10.39 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002507/0.3696, allocations: 49.09 kB / 0.5496 GB, free: 10.38 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.0009694/0.3706, allocations: 1.058 MB / 0.5506 GB, free: 9.578 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005784/0.3712, allocations: 0.5021 MB / 0.5511 GB, free: 9.312 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3712, allocations: 0 / 0.5511 GB, free: 9.312 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002957/0.3715, allocations: 294.3 kB / 0.5514 GB, free: 9.148 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002367/0.3717, allocations: 19.06 kB / 0.5514 GB, free: 9.145 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003037/0.3748, allocations: 2.795 MB / 0.5541 GB, free: 7.215 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001205/0.3749, allocations: 112.9 kB / 0.5542 GB, free: 7.078 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.048e-05/0.3749, allocations: 0 / 0.5542 GB, free: 7.078 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.218e-05/0.3749, allocations: 31.42 kB / 0.5542 GB, free: 7.047 MB / 398.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3749, allocations: 0 / 0.5542 GB, free: 7.047 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0447/0.4196, allocations: 4.189 MB / 0.5583 GB, free: 2.973 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.63, allocations: 7.797 kB / 0.5583 GB, free: 2.965 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.595123949926347]