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.001734/0.001734, allocations: 112.6 kB / 17.06 MB, free: 6.016 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.002107/0.002107, allocations: 191.9 kB / 18 MB, free: 5.098 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.422/1.422, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.19/0.19, allocations: 38.04 MB / 329.9 MB, free: 8.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002176/0.002176, allocations: 63.89 kB / 457.6 MB, free: 7.379 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.3263, allocations: 58.06 MB / 0.5036 GB, free: 7.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.004276/0.3306, allocations: 3.432 MB / 0.507 GB, free: 5.113 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001768/0.3324, allocations: 1.447 MB / 0.5084 GB, free: 4.098 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001459/0.3325, allocations: 5.906 kB / 0.5084 GB, free: 4.098 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008459/0.3334, allocations: 255.2 kB / 0.5086 GB, free: 3.945 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007722/0.3342, allocations: 283.5 kB / 0.5089 GB, free: 3.797 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003525/0.3346, allocations: 114.3 kB / 0.509 GB, free: 3.738 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004894/0.3351, allocations: 348 kB / 0.5093 GB, free: 3.59 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003188/0.3354, allocations: 134.4 kB / 0.5095 GB, free: 3.547 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002726/0.3357, allocations: 152.1 kB / 0.5096 GB, free: 3.477 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002624/0.3359, allocations: 151.3 kB / 0.5098 GB, free: 3.418 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.448e-05/0.336, allocations: 22.12 kB / 0.5098 GB, free: 3.41 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000589/0.3366, allocations: 301.4 kB / 0.5101 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001318/0.3367, allocations: 103.2 kB / 0.5102 GB, free: 3.262 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001235/0.3369, allocations: 106.8 kB / 0.5103 GB, free: 3.199 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005728/0.3374, allocations: 344.7 kB / 0.5106 GB, free: 3.078 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.3374, allocations: 1.5 kB / 0.5106 GB, free: 3.078 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3375, allocations: 0 / 0.5106 GB, free: 3.078 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.594e-06/0.3375, allocations: 0 / 0.5106 GB, free: 3.078 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.00071/0.3382, allocations: 0.5153 MB / 0.5111 GB, free: 2.609 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.3382, allocations: 17.42 kB / 0.5111 GB, free: 2.602 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.706e-05/0.3383, allocations: 53.94 kB / 0.5112 GB, free: 2.551 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008792/0.3392, allocations: 91.69 kB / 0.5113 GB, free: 2.535 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000333/0.3395, allocations: 261.9 kB / 0.5115 GB, free: 2.301 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/0.3396, allocations: 15.42 kB / 0.5115 GB, free: 2.293 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.479e-05/0.3396, allocations: 21.16 kB / 0.5115 GB, free: 2.285 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005004/0.3401, allocations: 316.6 kB / 0.5118 GB, free: 2.113 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.3401, allocations: 1.031 kB / 0.5118 GB, free: 2.113 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.655e-05/0.3402, allocations: 10.55 kB / 0.5118 GB, free: 2.105 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.848e-05/0.3402, allocations: 14.69 kB / 0.5119 GB, free: 2.105 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004444/0.3407, allocations: 295.3 kB / 0.5121 GB, free: 2.012 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001536/0.3422, allocations: 1.289 MB / 0.5134 GB, free: 1.016 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003722/0.3426, allocations: 235.6 kB / 0.5136 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.629e-05/0.3427, allocations: 56.39 kB / 0.5137 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/0.3427, allocations: 1.938 kB / 0.5137 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.3428, allocations: 40.22 kB / 0.5137 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 2.375e-06/0.3428, allocations: 0 / 0.5137 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006228/0.3434, allocations: 294.5 kB / 0.514 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.058e-05/0.3434, allocations: 79.95 kB / 0.5141 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001762/0.3436, allocations: 194 kB / 0.5143 GB, free: 396 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.297e-05/0.3436, allocations: 26.8 kB / 0.5143 GB, free: 364 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.756e-05/0.3437, allocations: 165.6 kB / 0.5144 GB, free: 212 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.307e-05/0.3438, allocations: 58.72 kB / 0.5145 GB, free: 164 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.605e-05/0.3439, allocations: 46.06 kB / 0.5145 GB, free: 132 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.344, allocations: 328.2 kB / 0.5149 GB, free: 15.81 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.139e-05/0.3441, allocations: 44.62 kB / 0.5149 GB, free: 15.8 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001686/0.3443, allocations: 142.8 kB / 0.515 GB, free: 15.66 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002944/0.3446, allocations: 217.2 kB / 0.5152 GB, free: 15.48 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3446, allocations: 1.5 kB / 0.5152 GB, free: 15.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003856/0.345, allocations: 231.4 kB / 0.5155 GB, free: 15.37 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.345, allocations: 14.56 kB / 0.5155 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.345, allocations: 8.641 kB / 0.5155 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.19e-05/0.3451, allocations: 4.594 kB / 0.5155 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000184/0.3452, allocations: 43.92 kB / 0.5155 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.415e-05/0.3453, allocations: 6.312 kB / 0.5155 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001198/0.3454, allocations: 7.828 kB / 0.5156 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.362e-05/0.3454, allocations: 9.828 kB / 0.5156 GB, free: 15.35 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.0001856/0.3456, allocations: 160.5 kB / 0.5157 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.975e-05/0.3457, allocations: 21.14 kB / 0.5157 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003101/0.346, allocations: 155.7 kB / 0.5159 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.346, allocations: 2.922 kB / 0.5159 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-05/0.346, allocations: 3.984 kB / 0.5159 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.816e-06/0.3461, allocations: 2.578 kB / 0.5159 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001014/0.3471, allocations: 0.6623 MB / 0.5165 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.3471, allocations: 3.344 kB / 0.5165 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/0.3472, allocations: 37.61 kB / 0.5166 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-06/0.3472, allocations: 8.656 kB / 0.5166 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.711e-05/0.3473, allocations: 6.531 kB / 0.5166 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.846e-06/0.3473, allocations: 4.312 kB / 0.5166 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.015e-06/0.3473, allocations: 12.31 kB / 0.5166 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003837/0.3477, allocations: 336.4 kB / 0.5169 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.56e-05/0.3478, allocations: 103.8 kB / 0.517 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.376e-05/0.3478, allocations: 7.516 kB / 0.517 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001264/0.3479, allocations: 8.094 kB / 0.517 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.894e-05/0.348, allocations: 14.69 kB / 0.5171 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.52e-05/0.348, allocations: 20.62 kB / 0.5171 GB, free: 14.13 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001602/0.3482, allocations: 142.2 kB / 0.5172 GB, free: 14.04 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3482, allocations: 0.5625 kB / 0.5172 GB, free: 14.04 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000411/0.3486, allocations: 42.78 kB / 0.5173 GB, free: 14.04 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.0007381/0.3494, allocations: 0.861 MB / 0.5181 GB, free: 13.21 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003387/0.3497, allocations: 160.8 kB / 0.5182 GB, free: 13.15 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.3497, allocations: 0.5312 kB / 0.5182 GB, free: 13.15 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001367/0.3499, allocations: 61.59 kB / 0.5183 GB, free: 13.13 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005345/0.3504, allocations: 42.78 kB / 0.5183 GB, free: 13.11 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003171/0.3536, allocations: 2.413 MB / 0.5207 GB, free: 11.11 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004937/0.3541, allocations: 0.7664 MB / 0.5215 GB, free: 10.4 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001467/0.3543, allocations: 47.95 kB / 0.5215 GB, free: 10.39 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/0.3544, allocations: 55.56 kB / 0.5216 GB, free: 10.35 MB / 398.1 MB Notification: Performance of SimCode: time 7.61e-07/0.3544, allocations: 4 kB / 0.5216 GB, free: 10.34 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03861/0.393, allocations: 3.49 MB / 0.525 GB, free: 9.809 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.574/8.967, allocations: 5.562 kB / 0.525 GB, free: 9.805 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