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.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.001489/0.001489, 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.001577/0.001577, allocations: 185.2 kB / 20.73 MB, free: 2.332 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.495/1.495, allocations: 225.6 MB / 249.1 MB, free: 3.621 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.2046/0.2046, allocations: 38.52 MB / 342.5 MB, free: 8.066 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_matrixEqCirc1,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 67.42 kB / 478.6 MB, free: 33.55 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1293, allocations: 61.25 MB / 0.5272 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.00398/0.1332, allocations: 2.054 MB / 0.5292 GB, free: 15.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009462/0.1342, allocations: 0.5299 MB / 0.5298 GB, free: 14.77 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.053e-05/0.1342, allocations: 0 / 0.5298 GB, free: 14.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001497/0.1344, allocations: 11.86 kB / 0.5298 GB, free: 14.76 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000138/0.1345, allocations: 27.91 kB / 0.5298 GB, free: 14.73 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003266/0.1348, allocations: 63.83 kB / 0.5299 GB, free: 14.67 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001474/0.135, allocations: 59.77 kB / 0.5299 GB, free: 14.61 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.737e-05/0.1351, allocations: 11.98 kB / 0.5299 GB, free: 14.6 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.1352, allocations: 31.84 kB / 0.53 GB, free: 14.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.694e-05/0.1352, allocations: 31.84 kB / 0.53 GB, free: 14.54 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.055e-05/0.1352, allocations: 0 / 0.53 GB, free: 14.54 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002018/0.1354, allocations: 91.78 kB / 0.5301 GB, free: 14.45 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.121e-05/0.1355, allocations: 15.94 kB / 0.5301 GB, free: 14.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.877e-05/0.1355, allocations: 19.8 kB / 0.5301 GB, free: 14.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002263/0.1358, allocations: 111.8 kB / 0.5302 GB, free: 14.3 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1358, allocations: 0 / 0.5302 GB, free: 14.3 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1358, allocations: 4 kB / 0.5302 GB, free: 14.3 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.1358, allocations: 0 / 0.5302 GB, free: 14.3 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.0005281/0.1363, allocations: 400.8 kB / 0.5306 GB, free: 13.86 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.1363, allocations: 11.89 kB / 0.5306 GB, free: 13.84 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.184e-05/0.1364, allocations: 38.75 kB / 0.5306 GB, free: 13.8 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.827e-05/0.1364, allocations: 12.89 kB / 0.5307 GB, free: 13.79 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002234/0.1367, allocations: 176.3 kB / 0.5308 GB, free: 13.57 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.1367, allocations: 384 / 0.5308 GB, free: 13.57 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.388e-05/0.1367, allocations: 7.938 kB / 0.5308 GB, free: 13.57 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.1368, allocations: 61.69 kB / 0.5309 GB, free: 13.5 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.1368, allocations: 7.922 kB / 0.5309 GB, free: 13.49 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.1368, allocations: 0 / 0.5309 GB, free: 13.49 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.1368, allocations: 0 / 0.5309 GB, free: 13.49 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.243e-05/0.1369, allocations: 35.92 kB / 0.5309 GB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002026/0.1371, allocations: 161.6 kB / 0.5311 GB, free: 13.25 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.835e-05/0.1372, allocations: 58.44 kB / 0.5311 GB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.943e-05/0.1372, allocations: 32.88 kB / 0.5312 GB, free: 13.15 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.756e-06/0.1373, allocations: 4 kB / 0.5312 GB, free: 13.14 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/0.1373, allocations: 34.56 kB / 0.5312 GB, free: 13.1 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.102e-06/0.1373, allocations: 4 kB / 0.5312 GB, free: 13.1 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.000317/0.1376, allocations: 179.2 kB / 0.5314 GB, free: 12.91 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.055e-05/0.1377, allocations: 89.11 kB / 0.5315 GB, free: 12.8 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.1378, allocations: 117.8 kB / 0.5316 GB, free: 12.68 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.1378, allocations: 25.7 kB / 0.5316 GB, free: 12.65 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.613e-05/0.1379, allocations: 92.17 kB / 0.5317 GB, free: 12.55 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.196e-05/0.1379, allocations: 43.83 kB / 0.5317 GB, free: 12.51 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.504e-05/0.138, allocations: 17.72 kB / 0.5318 GB, free: 12.49 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.1381, allocations: 326.8 kB / 0.5321 GB, free: 12.16 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.275e-05/0.1382, allocations: 27.98 kB / 0.5321 GB, free: 12.13 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.118e-05/0.1382, allocations: 31.98 kB / 0.5321 GB, free: 12.1 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001618/0.1384, allocations: 153 kB / 0.5323 GB, free: 11.94 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1384, allocations: 0 / 0.5323 GB, free: 11.94 MB / 398.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001741/0.1385, allocations: 155.2 kB / 0.5324 GB, free: 11.77 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.513e-05/0.1386, allocations: 53.73 kB / 0.5325 GB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1386, allocations: 0 / 0.5325 GB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.1386, allocations: 0 / 0.5325 GB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.91e-07/0.1386, allocations: 0 / 0.5325 GB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.1386, allocations: 0 / 0.5325 GB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.057e-05/0.1387, allocations: 7.953 kB / 0.5325 GB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.162e-05/0.1387, allocations: 8 kB / 0.5325 GB, free: 11.7 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.0001393/0.1388, allocations: 163.5 kB / 0.5326 GB, free: 11.52 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.439e-05/0.1389, allocations: 11.89 kB / 0.5326 GB, free: 11.51 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.023e-05/0.1389, allocations: 16.38 kB / 0.5327 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1389, allocations: 0 / 0.5327 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.1389, allocations: 3.984 kB / 0.5327 GB, free: 11.49 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1389, allocations: 0 / 0.5327 GB, free: 11.49 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001648/0.1391, allocations: 177.5 kB / 0.5328 GB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1391, allocations: 0 / 0.5328 GB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.2e-07/0.1391, allocations: 0 / 0.5328 GB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.768e-06/0.1391, allocations: 7.922 kB / 0.5328 GB, free: 11.26 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.1391, allocations: 4 kB / 0.5329 GB, free: 11.26 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.1391, allocations: 0 / 0.5329 GB, free: 11.26 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.1391, allocations: 0 / 0.5329 GB, free: 11.26 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003347/0.1394, allocations: 282.6 kB / 0.5331 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.581e-05/0.1395, allocations: 89.06 kB / 0.5332 GB, free: 10.85 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.642e-05/0.1395, allocations: 0 / 0.5332 GB, free: 10.85 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.032e-05/0.1395, allocations: 4 kB / 0.5332 GB, free: 10.85 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.94e-05/0.1395, allocations: 7.922 kB / 0.5332 GB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.1395, allocations: 4 kB / 0.5332 GB, free: 10.84 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.561e-05/0.1396, allocations: 91.27 kB / 0.5333 GB, free: 10.75 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1396, allocations: 7.969 kB / 0.5333 GB, free: 10.74 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000232/0.1398, allocations: 35.94 kB / 0.5333 GB, free: 10.7 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.000784/0.1406, allocations: 0.817 MB / 0.5341 GB, free: 9.852 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003197/0.1409, allocations: 227.3 kB / 0.5344 GB, free: 9.617 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1409, allocations: 0 / 0.5344 GB, free: 9.617 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001682/0.1411, allocations: 167.4 kB / 0.5345 GB, free: 9.441 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002823/0.1414, allocations: 8 kB / 0.5345 GB, free: 9.434 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001993/0.1434, allocations: 1.772 MB / 0.5363 GB, free: 7.57 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004105/0.1438, allocations: 0.7041 MB / 0.5369 GB, free: 6.84 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.188e-05/0.1438, allocations: 4 kB / 0.537 GB, free: 6.836 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.667e-05/0.1439, allocations: 23.42 kB / 0.537 GB, free: 6.812 MB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1439, allocations: 0 / 0.537 GB, free: 6.812 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02782/0.1717, allocations: 2.585 MB / 0.5395 GB, free: 4.348 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.985/8.156, allocations: 11.69 kB / 0.5395 GB, free: 4.34 MB / 398.1 MB " [Timeout remaining time 652] (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_2/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 11.106785518117249]