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) 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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 103.7 kB / 16.62 MB, free: 6.812 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.001361/0.001361, allocations: 193.8 kB / 17.55 MB, free: 5.953 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.321/1.321, allocations: 222.9 MB / 241.2 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1663/0.1663, allocations: 38.03 MB / 329.4 MB, free: 9.066 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001546, allocations: 68.52 kB / 398.4 MB, free: 34.35 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1027, allocations: 58.07 MB / 456.5 MB, free: 8.348 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.003208/0.1059, allocations: 2.088 MB / 458.5 MB, free: 6.234 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000725/0.1067, allocations: 0.5221 MB / 459.1 MB, free: 5.711 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.811e-05/0.1067, allocations: 3.938 kB / 459.1 MB, free: 5.707 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001076/0.1069, allocations: 7.984 kB / 459.1 MB, free: 5.699 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000113/0.107, allocations: 27.84 kB / 459.1 MB, free: 5.672 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000251/0.1072, allocations: 63.86 kB / 459.2 MB, free: 5.609 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00011/0.1074, allocations: 59.77 kB / 459.2 MB, free: 5.551 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.355e-05/0.1074, allocations: 0 / 459.2 MB, free: 5.551 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.039e-05/0.1075, allocations: 35.84 kB / 459.3 MB, free: 5.516 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.542e-05/0.1075, allocations: 27.89 kB / 459.3 MB, free: 5.488 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.135e-06/0.1076, allocations: 4 kB / 459.3 MB, free: 5.484 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001877/0.1077, allocations: 75.83 kB / 459.4 MB, free: 5.41 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.92e-05/0.1078, allocations: 19.92 kB / 459.4 MB, free: 5.391 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.067e-05/0.1078, allocations: 23.81 kB / 459.4 MB, free: 5.367 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001523/0.108, allocations: 107.9 kB / 459.5 MB, free: 5.262 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.108, allocations: 0 / 459.5 MB, free: 5.262 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.108, allocations: 4 kB / 459.5 MB, free: 5.258 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.108, allocations: 0 / 459.5 MB, free: 5.258 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003512/0.1084, allocations: 389 kB / 459.9 MB, free: 4.824 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.1084, allocations: 15.89 kB / 459.9 MB, free: 4.809 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.917e-05/0.1085, allocations: 30.75 kB / 459.9 MB, free: 4.77 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.16e-05/0.1085, allocations: 8.844 kB / 460 MB, free: 4.762 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001567/0.1087, allocations: 184.2 kB / 460.1 MB, free: 4.543 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.164e-06/0.1087, allocations: 4.375 kB / 460.1 MB, free: 4.539 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.063e-05/0.1087, allocations: 7.875 kB / 460.1 MB, free: 4.531 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.1088, allocations: 69.55 kB / 460.2 MB, free: 4.457 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.202e-06/0.1088, allocations: 0 / 460.2 MB, free: 4.457 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.735e-06/0.1088, allocations: 0 / 460.2 MB, free: 4.457 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.1089, allocations: 0 / 460.2 MB, free: 4.457 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.503e-05/0.1089, allocations: 31.98 kB / 460.2 MB, free: 4.426 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000152/0.1091, allocations: 169.5 kB / 460.4 MB, free: 4.211 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.126e-05/0.1091, allocations: 62.5 kB / 460.5 MB, free: 4.141 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.646e-05/0.1092, allocations: 44.88 kB / 460.5 MB, free: 4.094 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.083e-06/0.1092, allocations: 0 / 460.5 MB, free: 4.094 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/0.1092, allocations: 34.5 kB / 460.6 MB, free: 4.051 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.002e-06/0.1092, allocations: 0 / 460.6 MB, free: 4.051 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002697/0.1095, allocations: 171.6 kB / 460.7 MB, free: 3.871 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.614e-05/0.1096, allocations: 89.11 kB / 460.8 MB, free: 3.766 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.566e-05/0.1097, allocations: 125.8 kB / 460.9 MB, free: 3.633 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.1097, allocations: 29.7 kB / 461 MB, free: 3.598 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.734e-05/0.1097, allocations: 88.14 kB / 461 MB, free: 3.508 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.843e-05/0.1098, allocations: 39.36 kB / 461.1 MB, free: 3.469 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.012e-05/0.1099, allocations: 21.7 kB / 461.1 MB, free: 3.441 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.11, allocations: 318.8 kB / 461.4 MB, free: 3.121 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.882e-05/0.11, allocations: 31.92 kB / 461.4 MB, free: 3.09 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.967e-05/0.1101, allocations: 27.98 kB / 461.5 MB, free: 3.062 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001248/0.1102, allocations: 160.2 kB / 461.6 MB, free: 2.891 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1102, allocations: 0 / 461.6 MB, free: 2.891 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001623/0.1104, allocations: 152.1 kB / 461.8 MB, free: 2.73 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.446e-05/0.1104, allocations: 53.61 kB / 461.8 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.1104, allocations: 0 / 461.8 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.769e-06/0.1105, allocations: 0 / 461.8 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.92e-07/0.1105, allocations: 4 kB / 461.8 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.1105, allocations: 0 / 461.8 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.546e-05/0.1105, allocations: 0 / 461.8 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.63e-05/0.1105, allocations: 4 kB / 461.8 MB, free: 2.664 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.0001179/0.1106, allocations: 171.5 kB / 462 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.854e-05/0.1107, allocations: 11.91 kB / 462 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.767e-05/0.1107, allocations: 8.359 kB / 462 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.1107, allocations: 3.984 kB / 462 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.1107, allocations: 0 / 462 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1107, allocations: 0 / 462 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001316/0.1108, allocations: 185.4 kB / 462.2 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1109, allocations: 0 / 462.2 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.484e-06/0.1109, allocations: 3.984 kB / 462.2 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1109, allocations: 4 kB / 462.2 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.1109, allocations: 8 kB / 462.2 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.1109, allocations: 0 / 462.2 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1109, allocations: 0 / 462.2 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003079/0.1112, allocations: 278.5 kB / 462.5 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.36e-05/0.1113, allocations: 85.02 kB / 462.6 MB, free: 1.809 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.935e-05/0.1113, allocations: 7.938 kB / 462.6 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.728e-05/0.1113, allocations: 0 / 462.6 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.136e-05/0.1113, allocations: 12.02 kB / 462.6 MB, free: 1.789 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.1114, allocations: 0 / 462.6 MB, free: 1.789 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.562e-05/0.1114, allocations: 95.27 kB / 462.7 MB, free: 1.695 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1114, allocations: 0 / 462.7 MB, free: 1.695 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002322/0.1117, allocations: 32 kB / 462.7 MB, free: 1.664 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.0006422/0.1123, allocations: 0.8286 MB / 463.6 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003392/0.1127, allocations: 295.3 kB / 463.8 MB, free: 0.5 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1127, allocations: 0 / 463.8 MB, free: 0.5 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001869/0.1129, allocations: 223.3 kB / 464.1 MB, free: 276 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002652/0.1131, allocations: 14.81 kB / 464.1 MB, free: 264 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001691/0.1148, allocations: 1.776 MB / 465.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002152/0.1151, allocations: 0.6963 MB / 466.5 MB, free: 13.67 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.696e-05/0.1151, allocations: 3.859 kB / 466.6 MB, free: 13.67 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.316e-05/0.1151, allocations: 19.42 kB / 466.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1151, allocations: 0 / 466.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4318/0.5469, allocations: 2.461 MB / 469 MB, free: 11.34 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002732/0.5472, allocations: 211.8 kB / 469.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.844/2.391, allocations: 0 / 469.2 MB, free: 11.09 MB / 350.1 MB (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) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches