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) 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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 111.8 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.001475/0.001475, allocations: 185.8 kB / 17.55 MB, free: 5.934 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.303/1.303, allocations: 222.9 MB / 241.2 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1659/0.1659, allocations: 38.03 MB / 329.4 MB, free: 9.055 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 66.22 kB / 398.4 MB, free: 34.37 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09436/0.09563, allocations: 58.07 MB / 456.5 MB, free: 8.348 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2): time 0.003194/0.09886, allocations: 2.08 MB / 458.5 MB, free: 6.242 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006849/0.09957, allocations: 0.5221 MB / 459.1 MB, free: 5.719 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.595e-05/0.09962, allocations: 0 / 459.1 MB, free: 5.719 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001134/0.09975, allocations: 11.92 kB / 459.1 MB, free: 5.707 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.443e-05/0.09984, allocations: 19.91 kB / 459.1 MB, free: 5.688 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000276/0.1001, allocations: 63.86 kB / 459.2 MB, free: 5.625 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001161/0.1002, allocations: 63.77 kB / 459.2 MB, free: 5.562 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.879e-05/0.1003, allocations: 4 kB / 459.2 MB, free: 5.559 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.372e-05/0.1004, allocations: 31.84 kB / 459.3 MB, free: 5.527 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.871e-05/0.1004, allocations: 35.83 kB / 459.3 MB, free: 5.492 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.518e-06/0.1005, allocations: 0 / 459.3 MB, free: 5.492 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001414/0.1006, allocations: 75.89 kB / 459.4 MB, free: 5.418 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.698e-05/0.1007, allocations: 35.8 kB / 459.4 MB, free: 5.383 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.397e-05/0.1007, allocations: 31.73 kB / 459.4 MB, free: 5.352 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001786/0.1009, allocations: 127.8 kB / 459.6 MB, free: 5.227 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1009, allocations: 0 / 459.6 MB, free: 5.227 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1009, allocations: 8 kB / 459.6 MB, free: 5.219 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.1009, allocations: 0 / 459.6 MB, free: 5.219 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0003861/0.1013, allocations: 432.8 kB / 460 MB, free: 4.742 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.1013, allocations: 11.89 kB / 460 MB, free: 4.73 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.079e-05/0.1014, allocations: 34.75 kB / 460 MB, free: 4.688 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.389e-05/0.1014, allocations: 20.73 kB / 460.1 MB, free: 4.668 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001547/0.1016, allocations: 188.1 kB / 460.2 MB, free: 4.445 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.848e-06/0.1016, allocations: 4.375 kB / 460.2 MB, free: 4.441 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.087e-05/0.1016, allocations: 3.938 kB / 460.2 MB, free: 4.438 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.1018, allocations: 89.67 kB / 460.3 MB, free: 4.344 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.1018, allocations: 3.984 kB / 460.3 MB, free: 4.34 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.1018, allocations: 4 kB / 460.3 MB, free: 4.336 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-06/0.1018, allocations: 0 / 460.3 MB, free: 4.336 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.372e-05/0.1019, allocations: 55.98 kB / 460.4 MB, free: 4.281 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001471/0.102, allocations: 177.6 kB / 460.6 MB, free: 4.059 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001069/0.1021, allocations: 106.4 kB / 460.7 MB, free: 3.945 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.723e-05/0.1022, allocations: 80.88 kB / 460.8 MB, free: 3.863 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.741e-06/0.1022, allocations: 4 kB / 460.8 MB, free: 3.859 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.1023, allocations: 34.56 kB / 460.8 MB, free: 3.816 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 9.859e-06/0.1023, allocations: 3.938 kB / 460.8 MB, free: 3.812 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.0003854/0.1027, allocations: 306.2 kB / 461.1 MB, free: 3.504 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.841e-05/0.1027, allocations: 101 kB / 461.2 MB, free: 3.387 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.1028, allocations: 136 kB / 461.3 MB, free: 3.246 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.1029, allocations: 25.7 kB / 461.3 MB, free: 3.215 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.895e-05/0.1029, allocations: 96.61 kB / 461.4 MB, free: 3.117 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.954e-05/0.103, allocations: 74.8 kB / 461.5 MB, free: 3.043 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.898e-05/0.103, allocations: 25.7 kB / 461.5 MB, free: 3.012 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.1031, allocations: 330.8 kB / 461.9 MB, free: 2.68 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.921e-05/0.1032, allocations: 55.97 kB / 461.9 MB, free: 2.625 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.973e-05/0.1033, allocations: 51.98 kB / 462 MB, free: 2.574 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001978/0.1035, allocations: 250.5 kB / 462.2 MB, free: 2.316 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.1035, allocations: 3.938 kB / 462.2 MB, free: 2.312 MB / 334.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002101/0.1037, allocations: 219.2 kB / 462.4 MB, free: 2.086 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.405e-05/0.1038, allocations: 73.72 kB / 462.5 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.1038, allocations: 0 / 462.5 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.1038, allocations: 0 / 462.5 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.92e-07/0.1038, allocations: 0 / 462.5 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.1038, allocations: 0 / 462.5 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.442e-05/0.1038, allocations: 19.78 kB / 462.5 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.1039, allocations: 4 kB / 462.5 MB, free: 1.984 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.0001364/0.104, allocations: 191.4 kB / 462.7 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.393e-05/0.104, allocations: 15.81 kB / 462.7 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.579e-05/0.1041, allocations: 17.17 kB / 462.7 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.1041, allocations: 0 / 462.7 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1041, allocations: 0 / 462.7 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.754e-06/0.1041, allocations: 0 / 462.7 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000129/0.1042, allocations: 205.4 kB / 462.9 MB, free: 1.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.1042, allocations: 0 / 462.9 MB, free: 1.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.81e-07/0.1042, allocations: 0 / 462.9 MB, free: 1.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.1042, allocations: 0 / 462.9 MB, free: 1.5 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.1042, allocations: 8 kB / 463 MB, free: 1.492 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1043, allocations: 0 / 463 MB, free: 1.492 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1043, allocations: 0 / 463 MB, free: 1.492 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004782/0.1047, allocations: 0.5172 MB / 463.5 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.311e-05/0.1048, allocations: 88.95 kB / 463.6 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.189e-05/0.1048, allocations: 7.938 kB / 463.6 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.431e-05/0.1049, allocations: 4 kB / 463.6 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.99e-05/0.1049, allocations: 4 kB / 463.6 MB, free: 0.832 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.1049, allocations: 8 kB / 463.6 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.886e-05/0.105, allocations: 107.2 kB / 463.7 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.105, allocations: 4.031 kB / 463.7 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002277/0.1052, allocations: 40 kB / 463.7 MB, free: 0.6758 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.000761/0.106, allocations: 1.059 MB / 464.8 MB, free: 15.58 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005759/0.1065, allocations: 0.7023 MB / 465.5 MB, free: 14.87 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1066, allocations: 0 / 465.5 MB, free: 14.87 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003983/0.107, allocations: 0.5736 MB / 466.1 MB, free: 14.28 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002101/0.1072, allocations: 15.98 kB / 466.1 MB, free: 14.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002304/0.1095, allocations: 2.486 MB / 468.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.1098, allocations: 0.72 MB / 469.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.783e-05/0.1098, allocations: 0 / 469.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.787e-05/0.1099, allocations: 31.42 kB / 469.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1099, allocations: 0 / 469.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1081/0.218, allocations: 3.47 MB / 472.8 MB, free: 7.602 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001957/0.2182, allocations: 222.1 kB / 473 MB, free: 7.344 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.794/2.012, allocations: 0 / 473 MB, free: 7.344 MB / 350.1 MB (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) 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) Reference file matches