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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 123.9 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 189.2 kB / 20.73 MB, free: 2.336 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.522/1.522, allocations: 225.6 MB / 249.1 MB, free: 3.574 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1885/0.1885, allocations: 38.5 MB / 342.5 MB, free: 8.047 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 73.33 kB / 478.6 MB, free: 33.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1345, allocations: 61.25 MB / 0.5272 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.004107/0.1386, allocations: 2.043 MB / 0.5292 GB, free: 15.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009354/0.1395, allocations: 0.5338 MB / 0.5297 GB, free: 14.74 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.524e-05/0.1396, allocations: 0 / 0.5297 GB, free: 14.74 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001635/0.1397, allocations: 15.91 kB / 0.5298 GB, free: 14.72 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.476e-05/0.1398, allocations: 19.91 kB / 0.5298 GB, free: 14.7 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003771/0.1402, allocations: 63.78 kB / 0.5298 GB, free: 14.64 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001509/0.1404, allocations: 59.83 kB / 0.5299 GB, free: 14.58 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.117e-05/0.1404, allocations: 0 / 0.5299 GB, free: 14.58 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.1405, allocations: 39.84 kB / 0.5299 GB, free: 14.54 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.328e-05/0.1406, allocations: 31.83 kB / 0.53 GB, free: 14.51 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.061e-05/0.1406, allocations: 0 / 0.53 GB, free: 14.51 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001954/0.1408, allocations: 91.8 kB / 0.5301 GB, free: 14.42 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.123e-05/0.1409, allocations: 39.84 kB / 0.5301 GB, free: 14.38 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.878e-05/0.1409, allocations: 43.56 kB / 0.5301 GB, free: 14.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002519/0.1412, allocations: 159.5 kB / 0.5303 GB, free: 14.18 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.1412, allocations: 3.938 kB / 0.5303 GB, free: 14.18 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1412, allocations: 4 kB / 0.5303 GB, free: 14.18 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.267e-05/0.1412, allocations: 3.984 kB / 0.5303 GB, free: 14.17 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.0007996/0.142, allocations: 484.3 kB / 0.5308 GB, free: 13.64 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.142, allocations: 15.89 kB / 0.5308 GB, free: 13.63 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.141e-05/0.1421, allocations: 42.73 kB / 0.5308 GB, free: 13.58 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.244e-05/0.1421, allocations: 24.73 kB / 0.5308 GB, free: 13.55 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002507/0.1424, allocations: 196.4 kB / 0.531 GB, free: 13.32 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.1424, allocations: 4 kB / 0.531 GB, free: 13.32 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.475e-05/0.1424, allocations: 4 kB / 0.531 GB, free: 13.32 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002075/0.1426, allocations: 134.6 kB / 0.5312 GB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.1426, allocations: 0 / 0.5312 GB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.1426, allocations: 0 / 0.5312 GB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.1427, allocations: 0 / 0.5312 GB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000173/0.1428, allocations: 100.2 kB / 0.5313 GB, free: 13.08 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002123/0.143, allocations: 202.1 kB / 0.5315 GB, free: 12.84 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001489/0.1432, allocations: 110.9 kB / 0.5316 GB, free: 12.72 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.1433, allocations: 97.19 kB / 0.5317 GB, free: 12.62 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.196e-06/0.1433, allocations: 4 kB / 0.5317 GB, free: 12.62 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.1433, allocations: 30.56 kB / 0.5317 GB, free: 12.58 MB / 398.1 MB Notification: Performance of pre-optimization done (n=40): time 9.92e-07/0.1433, allocations: 0 / 0.5317 GB, free: 12.58 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.0006655/0.144, allocations: 483.9 kB / 0.5321 GB, free: 12.09 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/0.1441, allocations: 109.1 kB / 0.5322 GB, free: 11.97 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.1442, allocations: 141.4 kB / 0.5324 GB, free: 11.82 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.317e-05/0.1443, allocations: 37.69 kB / 0.5324 GB, free: 11.77 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.64e-05/0.1443, allocations: 88.8 kB / 0.5325 GB, free: 11.68 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/0.1445, allocations: 138.8 kB / 0.5326 GB, free: 11.55 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.766e-05/0.1445, allocations: 37.7 kB / 0.5327 GB, free: 11.5 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.1447, allocations: 338.8 kB / 0.533 GB, free: 11.16 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/0.1448, allocations: 87.97 kB / 0.5331 GB, free: 11.08 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001102/0.1449, allocations: 92.95 kB / 0.5332 GB, free: 10.99 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003534/0.1453, allocations: 364.4 kB / 0.5335 GB, free: 10.62 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1453, allocations: 3.938 kB / 0.5335 GB, free: 10.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003841/0.1456, allocations: 323.1 kB / 0.5338 GB, free: 10.29 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000106/0.1457, allocations: 93.69 kB / 0.5339 GB, free: 10.19 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.1458, allocations: 0 / 0.5339 GB, free: 10.19 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.1458, allocations: 0 / 0.5339 GB, free: 10.19 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.52e-07/0.1458, allocations: 0 / 0.5339 GB, free: 10.19 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.1458, allocations: 0 / 0.5339 GB, free: 10.19 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.284e-05/0.1458, allocations: 19.84 kB / 0.5339 GB, free: 10.17 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.958e-05/0.1459, allocations: 15.92 kB / 0.534 GB, free: 10.15 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.000233/0.1461, allocations: 235.3 kB / 0.5342 GB, free: 9.906 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.122e-05/0.1461, allocations: 23.84 kB / 0.5342 GB, free: 9.883 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.197e-05/0.1461, allocations: 13.97 kB / 0.5342 GB, free: 9.863 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1461, allocations: 0 / 0.5342 GB, free: 9.863 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1462, allocations: 4 kB / 0.5342 GB, free: 9.859 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1462, allocations: 3.984 kB / 0.5342 GB, free: 9.855 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002072/0.1464, allocations: 229.3 kB / 0.5344 GB, free: 9.582 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.1464, allocations: 3.984 kB / 0.5344 GB, free: 9.578 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.1464, allocations: 0 / 0.5344 GB, free: 9.578 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.1464, allocations: 0 / 0.5344 GB, free: 9.578 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.774e-05/0.1464, allocations: 8 kB / 0.5344 GB, free: 9.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1464, allocations: 0 / 0.5344 GB, free: 9.57 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.1464, allocations: 3.938 kB / 0.5345 GB, free: 9.566 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/0.1475, allocations: 0.9082 MB / 0.5353 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001177/0.1476, allocations: 92.95 kB / 0.5354 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.127e-05/0.1476, allocations: 12 kB / 0.5354 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.21e-05/0.1477, allocations: 4 kB / 0.5354 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.383e-05/0.1477, allocations: 8 kB / 0.5355 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/0.1477, allocations: 8 kB / 0.5355 GB, free: 8.492 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.213e-05/0.1478, allocations: 118.2 kB / 0.5356 GB, free: 8.379 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1478, allocations: 4.031 kB / 0.5356 GB, free: 8.375 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002791/0.1481, allocations: 59.94 kB / 0.5356 GB, free: 8.316 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.001539/0.1496, allocations: 1.457 MB / 0.5371 GB, free: 6.824 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001025/0.1506, allocations: 0.8154 MB / 0.5379 GB, free: 5.996 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1506, allocations: 0 / 0.5379 GB, free: 5.996 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007559/0.1514, allocations: 0.6046 MB / 0.5384 GB, free: 5.379 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002762/0.1517, allocations: 27.94 kB / 0.5385 GB, free: 5.352 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004122/0.1558, allocations: 3.462 MB / 0.5418 GB, free: 1.801 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004653/0.1563, allocations: 0.7439 MB / 0.5426 GB, free: 1.027 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.221e-05/0.1563, allocations: 0 / 0.5426 GB, free: 1.027 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.546e-05/0.1564, allocations: 47.41 kB / 0.5426 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of SimCode: time 1.503e-06/0.1564, allocations: 0 / 0.5426 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02955/0.1859, allocations: 4.894 MB / 0.5474 GB, free: 12.22 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.125/8.311, allocations: 11.94 kB / 0.5474 GB, free: 12.21 MB / 414.1 MB " [Timeout remaining time 652] (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_2/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 11.322166977915913]