Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.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.001776/0.001776, 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.002026/0.002026, 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.508/1.508, allocations: 225.6 MB / 249.1 MB, free: 3.629 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.1802/0.1802, allocations: 38.51 MB / 342.5 MB, free: 8.172 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_matrixEqCirc0,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 68.36 kB / 478.6 MB, free: 33.87 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1193, allocations: 61.25 MB / 0.5272 GB, free: 1.523 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0): time 0.003523/0.1228, allocations: 2.05 MB / 0.5292 GB, free: 15.46 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008162/0.1236, allocations: 0.5338 MB / 0.5298 GB, free: 14.92 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.906e-05/0.1236, allocations: 0 / 0.5298 GB, free: 14.92 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001628/0.1238, allocations: 11.92 kB / 0.5298 GB, free: 14.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.613e-05/0.1239, allocations: 27.84 kB / 0.5298 GB, free: 14.88 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002865/0.1242, allocations: 59.84 kB / 0.5298 GB, free: 14.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001221/0.1243, allocations: 63.75 kB / 0.5299 GB, free: 14.76 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.475e-05/0.1243, allocations: 8 kB / 0.5299 GB, free: 14.75 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.744e-05/0.1244, allocations: 27.91 kB / 0.5299 GB, free: 14.73 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.788e-05/0.1245, allocations: 35.77 kB / 0.53 GB, free: 14.69 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.176e-06/0.1245, allocations: 0 / 0.53 GB, free: 14.69 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001917/0.1247, allocations: 95.78 kB / 0.5301 GB, free: 14.6 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.08e-05/0.1247, allocations: 15.94 kB / 0.5301 GB, free: 14.58 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.627e-05/0.1247, allocations: 11.88 kB / 0.5301 GB, free: 14.57 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001781/0.1249, allocations: 95.97 kB / 0.5302 GB, free: 14.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1249, allocations: 0 / 0.5302 GB, free: 14.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1249, allocations: 0 / 0.5302 GB, free: 14.48 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.1249, allocations: 0 / 0.5302 GB, free: 14.48 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004564/0.1254, allocations: 392.8 kB / 0.5306 GB, free: 14.04 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.1254, allocations: 15.89 kB / 0.5306 GB, free: 14.02 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.758e-05/0.1255, allocations: 34.75 kB / 0.5306 GB, free: 13.98 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.772e-05/0.1255, allocations: 8.938 kB / 0.5306 GB, free: 13.97 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001851/0.1257, allocations: 180.2 kB / 0.5308 GB, free: 13.76 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.1257, allocations: 384 / 0.5308 GB, free: 13.76 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.1257, allocations: 7.938 kB / 0.5308 GB, free: 13.75 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000128/0.1258, allocations: 53.69 kB / 0.5308 GB, free: 13.69 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.1258, allocations: 0 / 0.5308 GB, free: 13.69 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-06/0.1258, allocations: 0 / 0.5308 GB, free: 13.69 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.1259, allocations: 0 / 0.5308 GB, free: 13.69 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.908e-05/0.1259, allocations: 19.98 kB / 0.5309 GB, free: 13.67 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001839/0.1261, allocations: 173.6 kB / 0.531 GB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.064e-05/0.1261, allocations: 42.44 kB / 0.5311 GB, free: 13.4 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.888e-05/0.1262, allocations: 28.86 kB / 0.5311 GB, free: 13.37 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.744e-06/0.1262, allocations: 0 / 0.5311 GB, free: 13.37 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/0.1262, allocations: 38.56 kB / 0.5311 GB, free: 13.32 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 9.22e-07/0.1262, allocations: 3.938 kB / 0.5311 GB, free: 13.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002585/0.1265, allocations: 143.3 kB / 0.5313 GB, free: 13.17 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.965e-05/0.1265, allocations: 85.14 kB / 0.5314 GB, free: 13.07 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.1267, allocations: 113.8 kB / 0.5315 GB, free: 12.95 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.1267, allocations: 29.7 kB / 0.5315 GB, free: 12.91 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.458e-05/0.1267, allocations: 84.14 kB / 0.5316 GB, free: 12.82 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.43e-05/0.1268, allocations: 27.75 kB / 0.5316 GB, free: 12.8 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.474e-05/0.1268, allocations: 17.7 kB / 0.5316 GB, free: 12.77 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.127, allocations: 318.8 kB / 0.5319 GB, free: 12.45 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.816e-05/0.127, allocations: 27.92 kB / 0.5319 GB, free: 12.43 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.839e-05/0.127, allocations: 19.98 kB / 0.532 GB, free: 12.41 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001331/0.1272, allocations: 128.4 kB / 0.5321 GB, free: 12.27 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/0.1272, allocations: 7.938 kB / 0.5321 GB, free: 12.26 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001521/0.1273, allocations: 123.2 kB / 0.5322 GB, free: 12.12 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.281e-05/0.1274, allocations: 45.69 kB / 0.5323 GB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.1274, allocations: 0 / 0.5323 GB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.1274, allocations: 0 / 0.5323 GB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.02e-07/0.1274, allocations: 0 / 0.5323 GB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.1274, allocations: 0 / 0.5323 GB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.269e-05/0.1274, allocations: 0 / 0.5323 GB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/0.1274, allocations: 4 kB / 0.5323 GB, free: 12.07 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.0001222/0.1275, allocations: 159.5 kB / 0.5324 GB, free: 11.9 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.729e-05/0.1276, allocations: 11.94 kB / 0.5324 GB, free: 11.89 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.603e-05/0.1276, allocations: 8.375 kB / 0.5324 GB, free: 11.88 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.1276, allocations: 0 / 0.5324 GB, free: 11.88 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.1276, allocations: 0 / 0.5324 GB, free: 11.88 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.1276, allocations: 0 / 0.5324 GB, free: 11.88 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001574/0.1277, allocations: 169.6 kB / 0.5326 GB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.1277, allocations: 0 / 0.5326 GB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-07/0.1277, allocations: 0 / 0.5326 GB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.233e-06/0.1277, allocations: 4 kB / 0.5326 GB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.1278, allocations: 0 / 0.5326 GB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.1278, allocations: 4.375 kB / 0.5326 GB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1278, allocations: 0 / 0.5326 GB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002649/0.128, allocations: 222.6 kB / 0.5328 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.208e-05/0.1281, allocations: 85 kB / 0.5329 GB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.843e-05/0.1281, allocations: 7.938 kB / 0.5329 GB, free: 11.3 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.482e-05/0.1281, allocations: 0 / 0.5329 GB, free: 11.3 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.601e-05/0.1281, allocations: 8.031 kB / 0.5329 GB, free: 11.3 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.491e-06/0.1281, allocations: 4 kB / 0.5329 GB, free: 11.29 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.558e-05/0.1282, allocations: 87.27 kB / 0.533 GB, free: 11.21 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1282, allocations: 0 / 0.533 GB, free: 11.21 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002201/0.1284, allocations: 28 kB / 0.533 GB, free: 11.18 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.0006847/0.1291, allocations: 0.7662 MB / 0.5338 GB, free: 10.38 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002356/0.1293, allocations: 171.3 kB / 0.5339 GB, free: 10.2 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1293, allocations: 0 / 0.5339 GB, free: 10.2 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000125/0.1295, allocations: 123.4 kB / 0.5341 GB, free: 10.07 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002394/0.1297, allocations: 12.31 kB / 0.5341 GB, free: 10.05 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001644/0.1313, allocations: 1.552 MB / 0.5356 GB, free: 8.414 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003446/0.1317, allocations: 0.6924 MB / 0.5363 GB, free: 7.695 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.373e-05/0.1317, allocations: 4.031 kB / 0.5363 GB, free: 7.691 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.033e-05/0.1317, allocations: 15.44 kB / 0.5363 GB, free: 7.676 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1317, allocations: 0 / 0.5363 GB, free: 7.676 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02604/0.1578, allocations: 2.198 MB / 0.5384 GB, free: 5.602 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.15/8.308, allocations: 8 kB / 0.5384 GB, free: 5.594 MB / 398.1 MB " [Timeout remaining time 652] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc0_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc0.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.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.309562330134213]