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.001078/0.001078, allocations: 112.7 kB / 17.07 MB, free: 5.988 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.001046/0.001046, allocations: 195 kB / 18 MB, free: 5.074 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.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1733/0.1733, allocations: 38.03 MB / 329.9 MB, free: 8.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 59.91 kB / 457.6 MB, free: 7.387 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.311, allocations: 58.06 MB / 0.5036 GB, free: 7.547 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.00395/0.315, allocations: 3.427 MB / 0.507 GB, free: 5.164 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00166/0.3167, allocations: 1.451 MB / 0.5084 GB, free: 4.148 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001342/0.3168, allocations: 9.938 kB / 0.5084 GB, free: 4.145 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007971/0.3176, allocations: 250 kB / 0.5086 GB, free: 3.996 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006123/0.3183, allocations: 285.3 kB / 0.5089 GB, free: 3.848 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003019/0.3186, allocations: 117.5 kB / 0.509 GB, free: 3.785 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003919/0.319, allocations: 344 kB / 0.5093 GB, free: 3.641 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002871/0.3193, allocations: 139.7 kB / 0.5095 GB, free: 3.594 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002216/0.3195, allocations: 152.6 kB / 0.5096 GB, free: 3.527 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001997/0.3197, allocations: 153.3 kB / 0.5098 GB, free: 3.465 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.54e-05/0.3197, allocations: 13.75 kB / 0.5098 GB, free: 3.465 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004296/0.3202, allocations: 308.1 kB / 0.5101 GB, free: 3.344 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001086/0.3203, allocations: 99.45 kB / 0.5102 GB, free: 3.312 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001039/0.3204, allocations: 107 kB / 0.5103 GB, free: 3.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004407/0.3209, allocations: 341.2 kB / 0.5106 GB, free: 3.133 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3209, allocations: 1.031 kB / 0.5106 GB, free: 3.133 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3209, allocations: 3.938 kB / 0.5106 GB, free: 3.129 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.3209, allocations: 0 / 0.5106 GB, free: 3.129 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.0006378/0.3215, allocations: 0.5189 MB / 0.5111 GB, free: 2.656 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.3216, allocations: 12.7 kB / 0.5111 GB, free: 2.652 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.48e-05/0.3216, allocations: 59.95 kB / 0.5112 GB, free: 2.598 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008883/0.3225, allocations: 91.31 kB / 0.5113 GB, free: 2.582 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003315/0.3229, allocations: 265.8 kB / 0.5115 GB, free: 2.344 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.3229, allocations: 15.84 kB / 0.5115 GB, free: 2.336 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.09e-05/0.323, allocations: 19.88 kB / 0.5115 GB, free: 2.328 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005266/0.3235, allocations: 316.9 kB / 0.5118 GB, free: 2.156 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.3235, allocations: 0.5156 kB / 0.5118 GB, free: 2.156 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.581e-05/0.3235, allocations: 7.328 kB / 0.5119 GB, free: 2.152 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.65e-05/0.3236, allocations: 16.09 kB / 0.5119 GB, free: 2.152 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004393/0.324, allocations: 294.8 kB / 0.5121 GB, free: 2.059 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001476/0.3255, allocations: 1.293 MB / 0.5134 GB, free: 1.059 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003626/0.3259, allocations: 232.3 kB / 0.5136 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.244e-05/0.326, allocations: 60.3 kB / 0.5137 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.595e-05/0.326, allocations: 5.5 kB / 0.5137 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/0.326, allocations: 36.55 kB / 0.5137 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.432e-06/0.326, allocations: 0 / 0.5137 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006123/0.3267, allocations: 290 kB / 0.514 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.002e-05/0.3267, allocations: 78.7 kB / 0.5141 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001563/0.3269, allocations: 194.6 kB / 0.5143 GB, free: 444 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.141e-05/0.3269, allocations: 27.84 kB / 0.5143 GB, free: 412 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.931e-05/0.327, allocations: 173.9 kB / 0.5145 GB, free: 252 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.017e-05/0.327, allocations: 49.56 kB / 0.5145 GB, free: 212 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.791e-05/0.3271, allocations: 44.45 kB / 0.5146 GB, free: 180 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.875e-05/0.3272, allocations: 329.6 kB / 0.5149 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.372e-05/0.3273, allocations: 44.67 kB / 0.5149 GB, free: 15.84 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001404/0.3274, allocations: 144.4 kB / 0.515 GB, free: 15.7 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002478/0.3277, allocations: 215.1 kB / 0.5153 GB, free: 15.52 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3277, allocations: 1.188 kB / 0.5153 GB, free: 15.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003857/0.3281, allocations: 235.6 kB / 0.5155 GB, free: 15.41 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.3281, allocations: 10.59 kB / 0.5155 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.3281, allocations: 4.734 kB / 0.5155 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.3281, allocations: 5.031 kB / 0.5155 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001681/0.3283, allocations: 47.81 kB / 0.5155 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.333e-05/0.3283, allocations: 10 kB / 0.5156 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001051/0.3284, allocations: 8.094 kB / 0.5156 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.901e-05/0.3285, allocations: 10.34 kB / 0.5156 GB, free: 15.39 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.0001293/0.3286, allocations: 160.9 kB / 0.5157 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.381e-05/0.3286, allocations: 24.12 kB / 0.5157 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002718/0.3289, allocations: 151.6 kB / 0.5159 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.3289, allocations: 2.031 kB / 0.5159 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.3289, allocations: 2.094 kB / 0.5159 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.329, allocations: 0.7031 kB / 0.5159 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009076/0.3299, allocations: 0.6664 MB / 0.5165 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.3299, allocations: 4.031 kB / 0.5165 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/0.33, allocations: 32.61 kB / 0.5166 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.33, allocations: 4.625 kB / 0.5166 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.984e-05/0.33, allocations: 10.48 kB / 0.5166 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.416e-06/0.3301, allocations: 9.734 kB / 0.5166 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/0.3301, allocations: 3.438 kB / 0.5166 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003681/0.3304, allocations: 339.3 kB / 0.5169 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.395e-05/0.3305, allocations: 102.4 kB / 0.517 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.691e-05/0.3306, allocations: 10.75 kB / 0.517 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.3307, allocations: 4.656 kB / 0.517 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.25e-05/0.3307, allocations: 27.28 kB / 0.5171 GB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.199e-05/0.3308, allocations: 7.938 kB / 0.5171 GB, free: 14.19 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001513/0.3309, allocations: 147.3 kB / 0.5172 GB, free: 14.09 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3309, allocations: 0 / 0.5172 GB, free: 14.09 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003956/0.3313, allocations: 42.84 kB / 0.5173 GB, free: 14.09 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.000672/0.332, allocations: 0.8656 MB / 0.5181 GB, free: 13.25 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003207/0.3323, allocations: 152.3 kB / 0.5182 GB, free: 13.2 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.3324, allocations: 0.5938 kB / 0.5182 GB, free: 13.2 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001302/0.3325, allocations: 58.06 kB / 0.5183 GB, free: 13.18 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004633/0.333, allocations: 47.31 kB / 0.5183 GB, free: 13.16 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00261/0.3356, allocations: 2.416 MB / 0.5207 GB, free: 11.16 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003208/0.3359, allocations: 0.7634 MB / 0.5215 GB, free: 10.45 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001221/0.3361, allocations: 47.09 kB / 0.5215 GB, free: 10.44 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.3362, allocations: 64.05 kB / 0.5216 GB, free: 10.39 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3362, allocations: 0 / 0.5216 GB, free: 10.39 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02082/0.357, allocations: 3.502 MB / 0.525 GB, free: 9.844 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.645/8.002, allocations: 5.562 kB / 0.525 GB, free: 9.84 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 & python3 -m fmpy simulate --output-file PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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