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.001642/0.001642, allocations: 111.1 kB / 17.06 MB, free: 5.977 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.001847/0.001847, allocations: 198.9 kB / 18.01 MB, free: 5.059 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.322/1.322, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1769/0.1769, allocations: 38.04 MB / 329.9 MB, free: 8.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 67.89 kB / 457.6 MB, free: 7.363 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3165, allocations: 58.05 MB / 0.5036 GB, free: 7.445 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.003892/0.3205, allocations: 3.436 MB / 0.507 GB, free: 5.059 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00161/0.3221, allocations: 1.444 MB / 0.5084 GB, free: 4.047 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001158/0.3222, allocations: 5.656 kB / 0.5084 GB, free: 4.047 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007115/0.3229, allocations: 257 kB / 0.5086 GB, free: 3.891 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005304/0.3235, allocations: 282.8 kB / 0.5089 GB, free: 3.742 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002598/0.3238, allocations: 114.5 kB / 0.509 GB, free: 3.684 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003838/0.3241, allocations: 338.8 kB / 0.5093 GB, free: 3.543 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002741/0.3244, allocations: 136 kB / 0.5095 GB, free: 3.496 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002423/0.3247, allocations: 165.1 kB / 0.5096 GB, free: 3.418 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002285/0.3249, allocations: 144.2 kB / 0.5098 GB, free: 3.363 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.74e-05/0.325, allocations: 13.94 kB / 0.5098 GB, free: 3.363 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004743/0.3254, allocations: 312.6 kB / 0.5101 GB, free: 3.238 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001221/0.3256, allocations: 98.81 kB / 0.5102 GB, free: 3.207 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001253/0.3257, allocations: 107.5 kB / 0.5103 GB, free: 3.145 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004948/0.3262, allocations: 336.9 kB / 0.5106 GB, free: 3.031 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3262, allocations: 1.188 kB / 0.5106 GB, free: 3.031 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3262, allocations: 0 / 0.5106 GB, free: 3.031 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.041e-05/0.3262, allocations: 4 kB / 0.5106 GB, free: 3.027 MB / 382.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.0006392/0.3269, allocations: 0.5099 MB / 0.5111 GB, free: 2.566 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.3269, allocations: 13.3 kB / 0.5111 GB, free: 2.562 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.324e-05/0.327, allocations: 55.69 kB / 0.5112 GB, free: 2.512 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008541/0.3279, allocations: 94.66 kB / 0.5112 GB, free: 2.492 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003251/0.3282, allocations: 270.8 kB / 0.5115 GB, free: 2.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.3282, allocations: 15.08 kB / 0.5115 GB, free: 2.242 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.333e-05/0.3283, allocations: 22.97 kB / 0.5115 GB, free: 2.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004742/0.3287, allocations: 313.6 kB / 0.5118 GB, free: 2.066 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.3288, allocations: 0 / 0.5118 GB, free: 2.066 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.555e-05/0.3288, allocations: 11.09 kB / 0.5118 GB, free: 2.059 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.392e-05/0.3288, allocations: 22.58 kB / 0.5119 GB, free: 2.051 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004135/0.3293, allocations: 292.1 kB / 0.5121 GB, free: 1.961 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001483/0.3308, allocations: 1.282 MB / 0.5134 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003743/0.3311, allocations: 234.6 kB / 0.5136 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.733e-05/0.3313, allocations: 64.61 kB / 0.5137 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.772e-05/0.3313, allocations: 2.312 kB / 0.5137 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/0.3313, allocations: 36.83 kB / 0.5137 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.3313, allocations: 0 / 0.5137 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006249/0.3319, allocations: 285.1 kB / 0.514 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/0.332, allocations: 84.03 kB / 0.5141 GB, free: 484 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001918/0.3322, allocations: 201.1 kB / 0.5143 GB, free: 344 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.3322, allocations: 30.73 kB / 0.5143 GB, free: 308 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.854e-05/0.3323, allocations: 158.5 kB / 0.5144 GB, free: 164 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.573e-05/0.3324, allocations: 50.22 kB / 0.5145 GB, free: 124 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.962e-05/0.3324, allocations: 45.03 kB / 0.5145 GB, free: 92 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.3326, allocations: 327.6 kB / 0.5148 GB, free: 15.77 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.373e-05/0.3327, allocations: 45.44 kB / 0.5149 GB, free: 15.76 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001487/0.3328, allocations: 143.4 kB / 0.515 GB, free: 15.62 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002526/0.3331, allocations: 225.4 kB / 0.5152 GB, free: 15.43 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3331, allocations: 1.312 kB / 0.5152 GB, free: 15.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003296/0.3334, allocations: 230.2 kB / 0.5155 GB, free: 15.32 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.3335, allocations: 6.719 kB / 0.5155 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.3335, allocations: 3.406 kB / 0.5155 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.3335, allocations: 4.906 kB / 0.5155 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001771/0.3337, allocations: 44.33 kB / 0.5155 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/0.3337, allocations: 6.609 kB / 0.5155 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001082/0.3338, allocations: 12.44 kB / 0.5155 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.398e-05/0.3339, allocations: 14.64 kB / 0.5156 GB, free: 15.3 MB / 398.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.0001583/0.334, allocations: 159 kB / 0.5157 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.698e-05/0.3341, allocations: 17.77 kB / 0.5157 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002867/0.3344, allocations: 151.7 kB / 0.5159 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.3344, allocations: 3.641 kB / 0.5159 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3344, allocations: 0 / 0.5159 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.3344, allocations: 1.766 kB / 0.5159 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009135/0.3353, allocations: 0.6673 MB / 0.5165 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.3353, allocations: 7.844 kB / 0.5165 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/0.3355, allocations: 33.47 kB / 0.5166 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.3355, allocations: 3.969 kB / 0.5166 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.3355, allocations: 5.672 kB / 0.5166 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.314e-06/0.3355, allocations: 5.531 kB / 0.5166 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/0.3355, allocations: 7.938 kB / 0.5166 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003514/0.3359, allocations: 343 kB / 0.5169 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.073e-05/0.336, allocations: 99.2 kB / 0.517 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.318e-05/0.336, allocations: 6.391 kB / 0.517 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.3361, allocations: 9.281 kB / 0.517 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.001e-05/0.3362, allocations: 23.08 kB / 0.517 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.503e-05/0.3362, allocations: 8.312 kB / 0.517 GB, free: 14.11 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001544/0.3364, allocations: 143.2 kB / 0.5172 GB, free: 14.01 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3364, allocations: 0 / 0.5172 GB, free: 14.01 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004313/0.3368, allocations: 43.31 kB / 0.5172 GB, free: 14.01 MB / 398.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.000732/0.3375, allocations: 0.8723 MB / 0.5181 GB, free: 13.17 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000362/0.3379, allocations: 148 kB / 0.5182 GB, free: 13.12 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.3379, allocations: 1.125 kB / 0.5182 GB, free: 13.12 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001378/0.3381, allocations: 63.55 kB / 0.5183 GB, free: 13.1 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005097/0.3386, allocations: 46.52 kB / 0.5183 GB, free: 13.08 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00321/0.3418, allocations: 2.409 MB / 0.5207 GB, free: 11.08 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003964/0.3422, allocations: 0.7637 MB / 0.5214 GB, free: 10.37 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001778/0.3424, allocations: 43.91 kB / 0.5215 GB, free: 10.36 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.3425, allocations: 59.25 kB / 0.5215 GB, free: 10.32 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3425, allocations: 1.062 kB / 0.5215 GB, free: 10.32 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02119/0.3637, allocations: 3.529 MB / 0.525 GB, free: 9.793 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.753/8.117, allocations: 13.58 kB / 0.525 GB, free: 9.781 MB / 398.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