Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.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.Generic.Test.AdmittanceTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_AdmittanceTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.AdmittanceTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_AdmittanceTest",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.001453/0.001454, allocations: 109 kB / 16.92 MB, free: 6.184 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.001625/0.001625, allocations: 191.4 kB / 17.85 MB, free: 5.289 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.312/1.312, allocations: 222.9 MB / 241.5 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1942/0.1942, allocations: 38.04 MB / 329.7 MB, free: 8.855 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 69.8 kB / 398.9 MB, free: 33.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08966/0.09092, allocations: 58.06 MB / 457 MB, free: 7.961 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.004217/0.09517, allocations: 3.43 MB / 460.4 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001683/0.09687, allocations: 1.446 MB / 461.8 MB, free: 3.055 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.91e-05/0.09699, allocations: 7.938 kB / 461.9 MB, free: 3.047 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006974/0.09769, allocations: 251 kB / 462.1 MB, free: 2.801 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004653/0.09817, allocations: 283 kB / 462.4 MB, free: 2.523 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002407/0.09842, allocations: 115.7 kB / 462.5 MB, free: 2.41 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002997/0.09873, allocations: 335 kB / 462.8 MB, free: 2.082 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000239/0.09898, allocations: 133.9 kB / 462.9 MB, free: 1.949 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001818/0.09917, allocations: 147.4 kB / 463.1 MB, free: 1.805 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001945/0.09937, allocations: 159.4 kB / 463.2 MB, free: 1.648 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.46e-05/0.0994, allocations: 16 kB / 463.3 MB, free: 1.633 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003873/0.0998, allocations: 303.2 kB / 463.6 MB, free: 1.336 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.185e-05/0.0999, allocations: 99.73 kB / 463.7 MB, free: 1.238 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.889e-05/0.1, allocations: 103.5 kB / 463.8 MB, free: 1.137 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003591/0.1004, allocations: 343 kB / 464.1 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.1004, allocations: 0 / 464.1 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.1004, allocations: 0 / 464.1 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.1004, allocations: 0 / 464.1 MB, free: 0.8008 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005684/0.101, allocations: 0.5093 MB / 464.6 MB, free: 252 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.101, allocations: 11.89 kB / 464.6 MB, free: 240 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.364e-05/0.1011, allocations: 58.72 kB / 464.7 MB, free: 172 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007548/0.1018, allocations: 88.56 kB / 464.8 MB, free: 84 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002697/0.1021, allocations: 262.9 kB / 465 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.1021, allocations: 16.27 kB / 465 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.154e-05/0.1022, allocations: 27.92 kB / 465.1 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004149/0.1026, allocations: 314.4 kB / 465.4 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.1026, allocations: 0 / 465.4 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.467e-05/0.1026, allocations: 8 kB / 465.4 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.903e-05/0.1027, allocations: 23.92 kB / 465.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003701/0.1031, allocations: 283.8 kB / 465.7 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001371/0.1044, allocations: 1.289 MB / 467 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003454/0.1048, allocations: 234.3 kB / 467.2 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.46e-05/0.1049, allocations: 65.69 kB / 467.3 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.1049, allocations: 7.984 kB / 467.3 MB, free: 13.37 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/0.1049, allocations: 34.5 kB / 467.3 MB, free: 13.33 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.522e-06/0.105, allocations: 0 / 467.3 MB, free: 13.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005245/0.1055, allocations: 291.8 kB / 467.6 MB, free: 13.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.244e-05/0.1055, allocations: 77.11 kB / 467.7 MB, free: 12.95 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001494/0.1057, allocations: 202.5 kB / 467.9 MB, free: 12.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.1057, allocations: 25.7 kB / 467.9 MB, free: 12.7 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.176e-05/0.1058, allocations: 159.8 kB / 468 MB, free: 12.54 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.473e-05/0.1058, allocations: 51.3 kB / 468.1 MB, free: 12.49 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.089e-05/0.1059, allocations: 45.61 kB / 468.1 MB, free: 12.44 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.446e-05/0.106, allocations: 326.8 kB / 468.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.133e-05/0.1061, allocations: 43.97 kB / 468.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001205/0.1062, allocations: 153.6 kB / 468.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002212/0.1064, allocations: 228.8 kB / 468.9 MB, free: 11.61 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1064, allocations: 0 / 468.9 MB, free: 11.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002918/0.1067, allocations: 233.2 kB / 469.1 MB, free: 11.37 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.1068, allocations: 10.34 kB / 469.1 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.473e-06/0.1068, allocations: 4 kB / 469.1 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.1068, allocations: 4 kB / 469.1 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001498/0.107, allocations: 43.92 kB / 469.2 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.107, allocations: 7.984 kB / 469.2 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.283e-05/0.1071, allocations: 8 kB / 469.2 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.254e-05/0.1071, allocations: 12 kB / 469.2 MB, free: 11.29 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * 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.0001136/0.1072, allocations: 165.9 kB / 469.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.995e-05/0.1073, allocations: 15.81 kB / 469.4 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002256/0.1075, allocations: 155 kB / 469.5 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.1075, allocations: 4 kB / 469.5 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.1075, allocations: 4.062 kB / 469.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.1075, allocations: 3.984 kB / 469.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007295/0.1083, allocations: 0.6615 MB / 470.2 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.189e-06/0.1083, allocations: 4 kB / 470.2 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001186/0.1084, allocations: 35.86 kB / 470.2 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.298e-06/0.1084, allocations: 4 kB / 470.2 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.1084, allocations: 8 kB / 470.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/0.1084, allocations: 7.984 kB / 470.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.1085, allocations: 7.938 kB / 470.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002734/0.1087, allocations: 331.4 kB / 470.6 MB, free: 9.723 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.596e-05/0.1088, allocations: 104.8 kB / 470.7 MB, free: 9.602 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.716e-05/0.1088, allocations: 4 kB / 470.7 MB, free: 9.598 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.109, allocations: 8 kB / 470.7 MB, free: 9.59 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.17e-05/0.109, allocations: 23.86 kB / 470.7 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/0.109, allocations: 12 kB / 470.7 MB, free: 9.555 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001009/0.1091, allocations: 144.3 kB / 470.9 MB, free: 9.414 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1091, allocations: 0 / 470.9 MB, free: 9.414 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003246/0.1095, allocations: 47.98 kB / 470.9 MB, free: 9.367 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0005222/0.11, allocations: 0.8673 MB / 471.8 MB, free: 8.434 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002429/0.1102, allocations: 151.8 kB / 471.9 MB, free: 8.285 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1102, allocations: 0 / 471.9 MB, free: 8.285 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.834e-05/0.1103, allocations: 61.22 kB / 472 MB, free: 8.227 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004245/0.1108, allocations: 39.92 kB / 472 MB, free: 8.188 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00272/0.1135, allocations: 2.4 MB / 474.4 MB, free: 5.535 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005258/0.114, allocations: 0.7632 MB / 475.2 MB, free: 4.746 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001278/0.1142, allocations: 41.52 kB / 475.2 MB, free: 4.707 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.197e-05/0.1143, allocations: 55.41 kB / 475.3 MB, free: 4.652 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1143, allocations: 0 / 475.3 MB, free: 4.652 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02252/0.1368, allocations: 3.41 MB / 478.7 MB, free: 1.312 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.246/7.383, allocations: 14.98 kB / 478.7 MB, free: 1.301 MB / 350.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Test_AdmittanceTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Test_AdmittanceTest.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.AdmittanceTest.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches