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.001751/0.001751, allocations: 120.1 kB / 18.49 MB, free: 4.562 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.002168/0.002168, allocations: 215 kB / 21.45 MB, free: 1.617 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.607/1.607, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.1962/0.1962, allocations: 38.51 MB / 349.4 MB, free: 2.617 MB / 270.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc2",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.002028/0.002028, allocations: 63.89 kB / 487.8 MB, free: 22.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1241, allocations: 62.43 MB / 0.5374 GB, free: 7.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2): time 0.003632/0.1277, allocations: 2.062 MB / 0.5394 GB, free: 5.492 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008961/0.1286, allocations: 0.5649 MB / 0.5399 GB, free: 4.926 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.297e-05/0.1287, allocations: 0 / 0.5399 GB, free: 4.926 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001403/0.1288, allocations: 11.92 kB / 0.5399 GB, free: 4.914 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.639e-05/0.1289, allocations: 23.84 kB / 0.54 GB, free: 4.891 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003314/0.1292, allocations: 67.84 kB / 0.54 GB, free: 4.824 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001307/0.1293, allocations: 71.7 kB / 0.5401 GB, free: 4.754 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.777e-05/0.1294, allocations: 3.984 kB / 0.5401 GB, free: 4.75 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001302/0.1295, allocations: 39.83 kB / 0.5401 GB, free: 4.711 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.972e-05/0.1296, allocations: 23.92 kB / 0.5402 GB, free: 4.688 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.858e-06/0.1296, allocations: 0 / 0.5402 GB, free: 4.688 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001907/0.1298, allocations: 91.78 kB / 0.5403 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.518e-05/0.1298, allocations: 31.86 kB / 0.5403 GB, free: 4.566 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.969e-05/0.1299, allocations: 27.75 kB / 0.5403 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002245/0.1301, allocations: 139.7 kB / 0.5404 GB, free: 4.402 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1301, allocations: 0 / 0.5404 GB, free: 4.402 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1301, allocations: 0 / 0.5404 GB, free: 4.402 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.1301, allocations: 4 kB / 0.5404 GB, free: 4.398 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.0005072/0.1306, allocations: 436.6 kB / 0.5409 GB, free: 3.918 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.1307, allocations: 12.03 kB / 0.5409 GB, free: 3.906 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.251e-05/0.1307, allocations: 4.125 kB / 0.5409 GB, free: 3.902 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.351e-05/0.1307, allocations: 38.75 kB / 0.5409 GB, free: 3.855 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.555e-05/0.1308, allocations: 12.84 kB / 0.5409 GB, free: 3.844 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001945/0.1309, allocations: 180.3 kB / 0.5411 GB, free: 3.629 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.131, allocations: 4.125 kB / 0.5411 GB, free: 3.625 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.008e-05/0.131, allocations: 4 kB / 0.5411 GB, free: 3.621 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.1311, allocations: 97.47 kB / 0.5412 GB, free: 3.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.1311, allocations: 0 / 0.5412 GB, free: 3.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.154e-06/0.1311, allocations: 0 / 0.5412 GB, free: 3.52 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.1311, allocations: 3.984 kB / 0.5412 GB, free: 3.516 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.893e-05/0.1312, allocations: 59.97 kB / 0.5413 GB, free: 3.457 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001994/0.1314, allocations: 181.5 kB / 0.5414 GB, free: 3.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/0.1315, allocations: 78.42 kB / 0.5415 GB, free: 3.145 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.025e-05/0.1316, allocations: 68.81 kB / 0.5416 GB, free: 3.074 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.814e-06/0.1316, allocations: 0 / 0.5416 GB, free: 3.074 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.1316, allocations: 34.5 kB / 0.5416 GB, free: 3.031 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 8.32e-07/0.1316, allocations: 4 kB / 0.5416 GB, free: 3.027 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.0004755/0.1321, allocations: 302.3 kB / 0.5419 GB, free: 2.723 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.286e-05/0.1322, allocations: 101.1 kB / 0.542 GB, free: 2.605 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.1323, allocations: 132.8 kB / 0.5421 GB, free: 2.469 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.1324, allocations: 25.7 kB / 0.5422 GB, free: 2.438 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.617e-05/0.1324, allocations: 96.61 kB / 0.5422 GB, free: 2.34 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.74e-05/0.1325, allocations: 83.25 kB / 0.5423 GB, free: 2.258 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.626e-05/0.1326, allocations: 29.7 kB / 0.5424 GB, free: 2.223 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.1327, allocations: 322.8 kB / 0.5427 GB, free: 1.898 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.397e-05/0.1328, allocations: 55.97 kB / 0.5427 GB, free: 1.844 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.21e-05/0.1328, allocations: 59.92 kB / 0.5428 GB, free: 1.785 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002618/0.1331, allocations: 252.1 kB / 0.543 GB, free: 1.523 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1331, allocations: 0 / 0.543 GB, free: 1.523 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002744/0.1334, allocations: 227.8 kB / 0.5432 GB, free: 1.289 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.534e-05/0.1335, allocations: 65.66 kB / 0.5433 GB, free: 1.219 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1335, allocations: 0 / 0.5433 GB, free: 1.219 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.1335, allocations: 0 / 0.5433 GB, free: 1.219 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.212e-06/0.1335, allocations: 0 / 0.5433 GB, free: 1.219 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.1335, allocations: 0 / 0.5433 GB, free: 1.219 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.745e-05/0.1335, allocations: 11.95 kB / 0.5433 GB, free: 1.207 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.31e-05/0.1335, allocations: 4 kB / 0.5433 GB, free: 1.203 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.0001865/0.1337, allocations: 203.3 kB / 0.5435 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.668e-05/0.1338, allocations: 23.94 kB / 0.5435 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.878e-05/0.1338, allocations: 9.172 kB / 0.5435 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.1338, allocations: 3.938 kB / 0.5435 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.1338, allocations: 0 / 0.5435 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.1338, allocations: 4 kB / 0.5435 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001775/0.134, allocations: 193.5 kB / 0.5437 GB, free: 0.707 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.134, allocations: 0 / 0.5437 GB, free: 0.707 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.555e-06/0.134, allocations: 7.984 kB / 0.5437 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.134, allocations: 4 kB / 0.5437 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.134, allocations: 4 kB / 0.5437 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.134, allocations: 0 / 0.5437 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.134, allocations: 7.938 kB / 0.5437 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006124/0.1346, allocations: 0.5023 MB / 0.5442 GB, free: 160 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.09e-05/0.1347, allocations: 96.94 kB / 0.5443 GB, free: 44 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.377e-05/0.1347, allocations: 4 kB / 0.5443 GB, free: 40 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.607e-05/0.1347, allocations: 4 kB / 0.5443 GB, free: 36 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.448e-05/0.1347, allocations: 7.938 kB / 0.5443 GB, free: 28 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.1347, allocations: 4 kB / 0.5443 GB, free: 24 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001021/0.1348, allocations: 103.3 kB / 0.5444 GB, free: 15.92 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1348, allocations: 0 / 0.5444 GB, free: 15.92 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002572/0.1351, allocations: 47.88 kB / 0.5445 GB, free: 15.88 MB / 414.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.000998/0.1361, allocations: 1.051 MB / 0.5455 GB, free: 14.79 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005531/0.1367, allocations: 455 kB / 0.546 GB, free: 14.33 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1367, allocations: 4.094 kB / 0.546 GB, free: 14.33 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000324/0.137, allocations: 319.2 kB / 0.5463 GB, free: 14 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002453/0.1372, allocations: 16 kB / 0.5463 GB, free: 13.99 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002732/0.14, allocations: 2.482 MB / 0.5487 GB, free: 11.42 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003683/0.1403, allocations: 0.716 MB / 0.5494 GB, free: 10.67 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.603e-05/0.1404, allocations: 7.984 kB / 0.5494 GB, free: 10.66 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.705e-05/0.1404, allocations: 27.47 kB / 0.5494 GB, free: 10.64 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1404, allocations: 0 / 0.5494 GB, free: 10.64 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02164/0.162, allocations: 3.646 MB / 0.553 GB, free: 7.129 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.503/8.665, allocations: 13.58 kB / 0.553 GB, free: 7.121 MB / 414.1 MB " [Timeout remaining time 651] (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: 11.796150241978467]