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.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.001515/0.001515, allocations: 124.8 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.002282/0.002282, allocations: 186.9 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.56/1.56, allocations: 225.6 MB / 249.1 MB, free: 3.613 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.1861/0.1861, allocations: 38.51 MB / 342.5 MB, free: 8.09 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_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: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 62.36 kB / 478.6 MB, free: 33.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1308, allocations: 61.26 MB / 0.5272 GB, free: 1.398 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2): time 0.00364/0.1344, allocations: 2.058 MB / 0.5292 GB, free: 15.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008437/0.1353, allocations: 0.526 MB / 0.5298 GB, free: 14.8 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.359e-05/0.1353, allocations: 4 kB / 0.5298 GB, free: 14.79 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001397/0.1355, allocations: 7.922 kB / 0.5298 GB, free: 14.79 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.657e-05/0.1356, allocations: 27.91 kB / 0.5298 GB, free: 14.76 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000381/0.1359, allocations: 63.78 kB / 0.5299 GB, free: 14.7 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001336/0.1361, allocations: 55.81 kB / 0.5299 GB, free: 14.64 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.158e-05/0.1361, allocations: 7.984 kB / 0.5299 GB, free: 14.63 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.714e-05/0.1362, allocations: 39.84 kB / 0.5299 GB, free: 14.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.173e-05/0.1363, allocations: 23.86 kB / 0.53 GB, free: 14.57 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.243e-05/0.1363, allocations: 4 kB / 0.53 GB, free: 14.57 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001905/0.1365, allocations: 83.8 kB / 0.5301 GB, free: 14.48 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.166e-05/0.1365, allocations: 31.91 kB / 0.5301 GB, free: 14.45 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.709e-05/0.1366, allocations: 31.69 kB / 0.5301 GB, free: 14.42 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002057/0.1368, allocations: 135.7 kB / 0.5302 GB, free: 14.29 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.1368, allocations: 0 / 0.5302 GB, free: 14.29 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.848e-06/0.1368, allocations: 4 kB / 0.5302 GB, free: 14.29 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.1368, allocations: 3.938 kB / 0.5303 GB, free: 14.28 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.0005/0.1373, allocations: 440.6 kB / 0.5307 GB, free: 13.8 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.1373, allocations: 11.89 kB / 0.5307 GB, free: 13.79 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.556e-05/0.1374, allocations: 38.75 kB / 0.5307 GB, free: 13.74 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.429e-05/0.1374, allocations: 12.84 kB / 0.5307 GB, free: 13.73 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002172/0.1376, allocations: 192.1 kB / 0.5309 GB, free: 13.5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.1377, allocations: 4.375 kB / 0.5309 GB, free: 13.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.608e-05/0.1377, allocations: 3.938 kB / 0.5309 GB, free: 13.49 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.1378, allocations: 85.67 kB / 0.531 GB, free: 13.4 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.1378, allocations: 0 / 0.531 GB, free: 13.4 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.1378, allocations: 4 kB / 0.531 GB, free: 13.4 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.1378, allocations: 4 kB / 0.531 GB, free: 13.39 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.558e-05/0.1379, allocations: 59.83 kB / 0.5311 GB, free: 13.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001818/0.1381, allocations: 181.5 kB / 0.5312 GB, free: 13.11 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001067/0.1382, allocations: 82.44 kB / 0.5313 GB, free: 13.02 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.831e-05/0.1383, allocations: 63.91 kB / 0.5314 GB, free: 12.96 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.039e-05/0.1383, allocations: 4 kB / 0.5314 GB, free: 12.95 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/0.1383, allocations: 34.56 kB / 0.5314 GB, free: 12.91 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 9.12e-07/0.1383, allocations: 0 / 0.5314 GB, free: 12.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.0004517/0.1388, allocations: 299.6 kB / 0.5317 GB, free: 12.61 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.147e-05/0.1389, allocations: 97.09 kB / 0.5318 GB, free: 12.49 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.139, allocations: 132.6 kB / 0.5319 GB, free: 12.36 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.139, allocations: 25.7 kB / 0.5319 GB, free: 12.32 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.45e-05/0.139, allocations: 96.52 kB / 0.532 GB, free: 12.23 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.623e-05/0.1391, allocations: 83.25 kB / 0.5321 GB, free: 12.14 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.758e-05/0.1392, allocations: 33.73 kB / 0.5322 GB, free: 12.11 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.1393, allocations: 322.8 kB / 0.5325 GB, free: 11.78 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.909e-05/0.1394, allocations: 63.78 kB / 0.5325 GB, free: 11.72 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.899e-05/0.1395, allocations: 59.97 kB / 0.5326 GB, free: 11.66 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002446/0.1397, allocations: 247.4 kB / 0.5328 GB, free: 11.41 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.1397, allocations: 3.938 kB / 0.5328 GB, free: 11.4 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002492/0.14, allocations: 223.1 kB / 0.533 GB, free: 11.17 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.071e-05/0.14, allocations: 61.66 kB / 0.5331 GB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.1401, allocations: 0 / 0.5331 GB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.1401, allocations: 8.062 kB / 0.5331 GB, free: 11.1 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.72e-07/0.1401, allocations: 0 / 0.5331 GB, free: 11.1 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.1401, allocations: 3.938 kB / 0.5331 GB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.338e-05/0.1401, allocations: 7.953 kB / 0.5331 GB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.047e-05/0.1401, allocations: 4 kB / 0.5331 GB, free: 11.08 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.0001769/0.1403, allocations: 203.4 kB / 0.5333 GB, free: 10.87 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.567e-05/0.1403, allocations: 15.91 kB / 0.5333 GB, free: 10.85 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.195e-05/0.1404, allocations: 17.16 kB / 0.5333 GB, free: 10.83 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.1404, allocations: 0 / 0.5333 GB, free: 10.83 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.1404, allocations: 4 kB / 0.5333 GB, free: 10.83 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1404, allocations: 0 / 0.5333 GB, free: 10.83 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001778/0.1405, allocations: 197.5 kB / 0.5335 GB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1405, allocations: 0 / 0.5335 GB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.097e-06/0.1405, allocations: 7.938 kB / 0.5335 GB, free: 10.58 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.1405, allocations: 3.984 kB / 0.5335 GB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.1406, allocations: 4 kB / 0.5335 GB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.1406, allocations: 0 / 0.5335 GB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.1406, allocations: 0 / 0.5335 GB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005852/0.1411, allocations: 0.4993 MB / 0.534 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.026e-05/0.1412, allocations: 96.94 kB / 0.5341 GB, free: 9.934 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.418e-05/0.1412, allocations: 4 kB / 0.5341 GB, free: 9.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.374e-05/0.1413, allocations: 7.938 kB / 0.5341 GB, free: 9.922 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.64e-05/0.1413, allocations: 4 kB / 0.5341 GB, free: 9.918 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.1413, allocations: 8 kB / 0.5341 GB, free: 9.91 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.932e-05/0.1414, allocations: 97.61 kB / 0.5342 GB, free: 9.816 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1414, allocations: 0 / 0.5342 GB, free: 9.816 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002502/0.1416, allocations: 51.92 kB / 0.5343 GB, free: 9.766 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.0009645/0.1426, allocations: 1.059 MB / 0.5353 GB, free: 8.672 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000543/0.1431, allocations: 459 kB / 0.5358 GB, free: 8.211 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.1431, allocations: 0 / 0.5358 GB, free: 8.211 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003428/0.1435, allocations: 315.2 kB / 0.5361 GB, free: 7.891 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002424/0.1437, allocations: 24.16 kB / 0.5361 GB, free: 7.867 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002925/0.1466, allocations: 2.467 MB / 0.5385 GB, free: 5.312 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003836/0.147, allocations: 0.716 MB / 0.5392 GB, free: 4.566 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.431e-05/0.1471, allocations: 4 kB / 0.5392 GB, free: 4.562 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.589e-05/0.1471, allocations: 27.42 kB / 0.5392 GB, free: 4.535 MB / 398.1 MB Notification: Performance of SimCode: time 1.102e-06/0.1471, allocations: 0 / 0.5392 GB, free: 4.535 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02927/0.1764, allocations: 3.627 MB / 0.5428 GB, free: 1.027 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.079/8.256, allocations: 9.969 kB / 0.5428 GB, free: 1.02 MB / 398.1 MB " [Timeout remaining time 652] (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_2/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 11.260807499755174]