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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 110.6 kB / 16.62 MB, free: 6.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001515/0.001515, allocations: 190 kB / 17.54 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 222.9 MB / 241.2 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1648/0.1648, allocations: 38.03 MB / 329.4 MB, free: 9.051 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 59.67 kB / 398.4 MB, free: 34.37 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1034, allocations: 58.07 MB / 456.5 MB, free: 8.355 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0): time 0.00389/0.1074, allocations: 2.096 MB / 458.6 MB, free: 6.234 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001086/0.1085, allocations: 0.5222 MB / 459.1 MB, free: 5.711 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.103e-05/0.1086, allocations: 0 / 459.1 MB, free: 5.711 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002061/0.1088, allocations: 7.922 kB / 459.1 MB, free: 5.703 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.833e-05/0.1089, allocations: 31.88 kB / 459.1 MB, free: 5.672 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003064/0.1093, allocations: 59.86 kB / 459.2 MB, free: 5.613 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001437/0.1094, allocations: 63.77 kB / 459.2 MB, free: 5.551 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.674e-05/0.1095, allocations: 4 kB / 459.2 MB, free: 5.547 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.1096, allocations: 27.84 kB / 459.3 MB, free: 5.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.169e-05/0.1097, allocations: 39.84 kB / 459.3 MB, free: 5.48 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.045e-05/0.1097, allocations: 0 / 459.3 MB, free: 5.48 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001932/0.1099, allocations: 75.83 kB / 459.4 MB, free: 5.406 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.44e-05/0.1099, allocations: 15.92 kB / 459.4 MB, free: 5.391 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.199e-05/0.11, allocations: 11.88 kB / 459.4 MB, free: 5.379 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002009/0.1102, allocations: 104 kB / 459.5 MB, free: 5.277 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1102, allocations: 0 / 459.5 MB, free: 5.277 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1102, allocations: 0 / 459.5 MB, free: 5.277 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.1102, allocations: 0 / 459.5 MB, free: 5.277 MB / 334.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.0004237/0.1106, allocations: 393 kB / 459.9 MB, free: 4.84 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.1107, allocations: 11.89 kB / 459.9 MB, free: 4.828 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.245e-05/0.1107, allocations: 30.75 kB / 459.9 MB, free: 4.789 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.668e-05/0.1108, allocations: 8.875 kB / 459.9 MB, free: 4.781 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000208/0.111, allocations: 176.3 kB / 460.1 MB, free: 4.57 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.111, allocations: 8.312 kB / 460.1 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.111, allocations: 3.938 kB / 460.1 MB, free: 4.559 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001392/0.1112, allocations: 49.69 kB / 460.2 MB, free: 4.504 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.1112, allocations: 0 / 460.2 MB, free: 4.504 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.1112, allocations: 0 / 460.2 MB, free: 4.504 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.1112, allocations: 8 kB / 460.2 MB, free: 4.496 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.458e-05/0.1113, allocations: 15.98 kB / 460.2 MB, free: 4.48 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001861/0.1115, allocations: 165.6 kB / 460.4 MB, free: 4.27 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.497e-05/0.1116, allocations: 50.44 kB / 460.4 MB, free: 4.211 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.756e-05/0.1116, allocations: 32.88 kB / 460.4 MB, free: 4.176 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.841e-06/0.1116, allocations: 4 kB / 460.4 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.774e-05/0.1117, allocations: 30.56 kB / 460.5 MB, free: 4.133 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 2.805e-06/0.1117, allocations: 4 kB / 460.5 MB, free: 4.129 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002836/0.112, allocations: 143.4 kB / 460.6 MB, free: 3.977 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.513e-05/0.112, allocations: 85.11 kB / 460.7 MB, free: 3.875 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.1121, allocations: 113.8 kB / 460.8 MB, free: 3.754 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.1122, allocations: 29.64 kB / 460.8 MB, free: 3.719 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.579e-05/0.1122, allocations: 92.11 kB / 460.9 MB, free: 3.625 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.11e-05/0.1123, allocations: 23.56 kB / 461 MB, free: 3.602 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.283e-05/0.1123, allocations: 25.7 kB / 461 MB, free: 3.57 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.1125, allocations: 318.9 kB / 461.3 MB, free: 3.25 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.518e-05/0.1125, allocations: 19.98 kB / 461.3 MB, free: 3.23 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.165e-05/0.1125, allocations: 23.98 kB / 461.3 MB, free: 3.207 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001221/0.1127, allocations: 120.5 kB / 461.5 MB, free: 3.074 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.1127, allocations: 3.938 kB / 461.5 MB, free: 3.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001451/0.1128, allocations: 119.4 kB / 461.6 MB, free: 2.941 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.323e-05/0.1129, allocations: 42.06 kB / 461.6 MB, free: 2.895 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.1129, allocations: 0 / 461.6 MB, free: 2.895 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.1129, allocations: 0 / 461.6 MB, free: 2.895 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.175e-05/0.1129, allocations: 8 kB / 461.6 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.1129, allocations: 7.922 kB / 461.6 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.3e-05/0.113, allocations: 7.906 kB / 461.6 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.288e-05/0.113, allocations: 0 / 461.6 MB, free: 2.871 MB / 334.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.0001226/0.1131, allocations: 159.5 kB / 461.8 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.47e-05/0.1132, allocations: 4 kB / 461.8 MB, free: 2.695 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.588e-05/0.1132, allocations: 8.359 kB / 461.8 MB, free: 2.684 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.1132, allocations: 7.984 kB / 461.8 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.1132, allocations: 0 / 461.8 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.1132, allocations: 4 kB / 461.8 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001347/0.1134, allocations: 169.5 kB / 462 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.1134, allocations: 4 kB / 462 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.062e-06/0.1134, allocations: 0 / 462 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.1134, allocations: 0 / 462 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.1134, allocations: 4 kB / 462 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1134, allocations: 0 / 462 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1134, allocations: 0 / 462 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002503/0.1137, allocations: 214.6 kB / 462.2 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.124e-05/0.1137, allocations: 89.06 kB / 462.3 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.819e-05/0.1138, allocations: 11.88 kB / 462.3 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.557e-05/0.1138, allocations: 0 / 462.3 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.73e-05/0.1138, allocations: 4 kB / 462.3 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.1138, allocations: 0 / 462.3 MB, free: 2.094 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.985e-05/0.1139, allocations: 91.27 kB / 462.4 MB, free: 2.004 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1139, allocations: 0 / 462.4 MB, free: 2.004 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002228/0.1141, allocations: 24 kB / 462.4 MB, free: 1.98 MB / 334.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.000633/0.1147, allocations: 0.7624 MB / 463.2 MB, free: 1.184 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002493/0.115, allocations: 199.3 kB / 463.4 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.115, allocations: 0 / 463.4 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001236/0.1151, allocations: 147.4 kB / 463.5 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002611/0.1154, allocations: 11.98 kB / 463.5 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001494/0.1169, allocations: 1.546 MB / 465.1 MB, free: 15.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000287/0.1172, allocations: 0.6962 MB / 465.8 MB, free: 14.46 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.901e-05/0.1172, allocations: 0 / 465.8 MB, free: 14.46 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.355e-05/0.1173, allocations: 15.44 kB / 465.8 MB, free: 14.44 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1173, allocations: 0 / 465.8 MB, free: 14.44 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3491/0.4664, allocations: 2.081 MB / 467.9 MB, free: 12.51 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002895/0.4667, allocations: 215 kB / 468.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.799/2.266, allocations: 0 / 468.1 MB, free: 12.26 MB / 350.1 MB (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) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches