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.001533/0.001533, allocations: 111.6 kB / 17.06 MB, free: 6.102 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.001997/0.001997, allocations: 199 kB / 18 MB, free: 5.18 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.401/1.401, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2206/0.2206, allocations: 38.03 MB / 329.9 MB, free: 8.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002073/0.002073, allocations: 67.89 kB / 457.6 MB, free: 7.344 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.3538, allocations: 58.04 MB / 0.5036 GB, free: 7.488 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.004623/0.3585, allocations: 3.442 MB / 0.507 GB, free: 5.094 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001784/0.3603, allocations: 1.446 MB / 0.5084 GB, free: 4.082 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001354/0.3604, allocations: 6.406 kB / 0.5084 GB, free: 4.082 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007847/0.3612, allocations: 254.7 kB / 0.5086 GB, free: 3.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005525/0.3618, allocations: 279.1 kB / 0.5089 GB, free: 3.785 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002639/0.3621, allocations: 117.4 kB / 0.509 GB, free: 3.723 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003563/0.3624, allocations: 344.3 kB / 0.5093 GB, free: 3.578 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002702/0.3627, allocations: 138.8 kB / 0.5095 GB, free: 3.531 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002214/0.3629, allocations: 156 kB / 0.5096 GB, free: 3.461 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002118/0.3632, allocations: 148.9 kB / 0.5098 GB, free: 3.402 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.609e-05/0.3632, allocations: 14.56 kB / 0.5098 GB, free: 3.402 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004745/0.3637, allocations: 308.8 kB / 0.5101 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000114/0.3638, allocations: 107.2 kB / 0.5102 GB, free: 3.242 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001059/0.3639, allocations: 101.8 kB / 0.5103 GB, free: 3.184 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004569/0.3644, allocations: 334.3 kB / 0.5106 GB, free: 3.074 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.3644, allocations: 0 / 0.5106 GB, free: 3.074 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3644, allocations: 9.125 kB / 0.5106 GB, free: 3.066 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.735e-06/0.3644, allocations: 4 kB / 0.5106 GB, free: 3.062 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.0005903/0.365, allocations: 0.5058 MB / 0.5111 GB, free: 2.605 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.365, allocations: 12.8 kB / 0.5111 GB, free: 2.602 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.328e-05/0.3651, allocations: 55.36 kB / 0.5112 GB, free: 2.551 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008043/0.3659, allocations: 90.88 kB / 0.5112 GB, free: 2.535 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002806/0.3662, allocations: 274 kB / 0.5115 GB, free: 2.289 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.3662, allocations: 12.38 kB / 0.5115 GB, free: 2.285 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.448e-05/0.3663, allocations: 19.38 kB / 0.5115 GB, free: 2.277 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004605/0.3668, allocations: 316.8 kB / 0.5118 GB, free: 2.105 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.3668, allocations: 1.031 kB / 0.5118 GB, free: 2.105 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.557e-05/0.3668, allocations: 10.78 kB / 0.5118 GB, free: 2.098 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.17e-05/0.3668, allocations: 14.23 kB / 0.5119 GB, free: 2.098 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004314/0.3673, allocations: 296.3 kB / 0.5121 GB, free: 2.004 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001361/0.3686, allocations: 1.282 MB / 0.5134 GB, free: 1.016 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003415/0.369, allocations: 236.1 kB / 0.5136 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.916e-05/0.3691, allocations: 59.25 kB / 0.5137 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.758e-05/0.3691, allocations: 9.578 kB / 0.5137 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.3692, allocations: 36.86 kB / 0.5137 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.523e-06/0.3692, allocations: 3.938 kB / 0.5137 GB, free: 0.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005969/0.3698, allocations: 290.5 kB / 0.514 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/0.3698, allocations: 78.17 kB / 0.5141 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001697/0.37, allocations: 203.3 kB / 0.5143 GB, free: 380 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.37, allocations: 27.02 kB / 0.5143 GB, free: 348 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.202e-05/0.3701, allocations: 160.7 kB / 0.5144 GB, free: 200 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.188e-05/0.3701, allocations: 42.28 kB / 0.5145 GB, free: 168 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.993e-05/0.3702, allocations: 48.52 kB / 0.5145 GB, free: 132 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.3703, allocations: 329.4 kB / 0.5148 GB, free: 15.81 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.474e-05/0.3704, allocations: 44.67 kB / 0.5149 GB, free: 15.8 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001533/0.3706, allocations: 142.6 kB / 0.515 GB, free: 15.66 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000279/0.3709, allocations: 218.2 kB / 0.5152 GB, free: 15.48 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.3709, allocations: 1.25 kB / 0.5152 GB, free: 15.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003618/0.3712, allocations: 234.2 kB / 0.5155 GB, free: 15.36 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.3713, allocations: 7.125 kB / 0.5155 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.3713, allocations: 3.672 kB / 0.5155 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.3713, allocations: 5.25 kB / 0.5155 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.3715, allocations: 43.7 kB / 0.5155 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.342e-05/0.3715, allocations: 5.812 kB / 0.5155 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001195/0.3716, allocations: 17.36 kB / 0.5155 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.508e-05/0.3717, allocations: 10.69 kB / 0.5155 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.00016/0.3718, allocations: 163.2 kB / 0.5157 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.499e-05/0.3719, allocations: 16.38 kB / 0.5157 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002991/0.3722, allocations: 149.1 kB / 0.5159 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.3722, allocations: 1.625 kB / 0.5159 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.3722, allocations: 1 kB / 0.5159 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.3722, allocations: 2.375 kB / 0.5159 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009513/0.3732, allocations: 0.6658 MB / 0.5165 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.3732, allocations: 3.656 kB / 0.5165 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/0.3733, allocations: 33.34 kB / 0.5165 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.055e-06/0.3733, allocations: 4.672 kB / 0.5166 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.007e-05/0.3733, allocations: 9.312 kB / 0.5166 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.845e-06/0.3734, allocations: 6.156 kB / 0.5166 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.722e-06/0.3734, allocations: 2.875 kB / 0.5166 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003497/0.3737, allocations: 340.6 kB / 0.5169 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.41e-05/0.3738, allocations: 104.2 kB / 0.517 GB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.559e-05/0.3739, allocations: 9.812 kB / 0.517 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001241/0.374, allocations: 7.906 kB / 0.517 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.235e-05/0.374, allocations: 20.28 kB / 0.517 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.195e-05/0.3741, allocations: 8.25 kB / 0.517 GB, free: 14.15 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000161/0.3742, allocations: 150.4 kB / 0.5172 GB, free: 14.05 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3742, allocations: 0 / 0.5172 GB, free: 14.05 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004205/0.3747, allocations: 47.31 kB / 0.5172 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.0005654/0.3752, allocations: 0.8646 MB / 0.5181 GB, free: 13.21 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002862/0.3755, allocations: 156.1 kB / 0.5182 GB, free: 13.16 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.739e-05/0.3756, allocations: 0.5312 kB / 0.5182 GB, free: 13.16 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001249/0.3757, allocations: 63.52 kB / 0.5183 GB, free: 13.14 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004766/0.3762, allocations: 40.2 kB / 0.5183 GB, free: 13.12 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002759/0.3789, allocations: 2.41 MB / 0.5207 GB, free: 11.12 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003459/0.3793, allocations: 0.763 MB / 0.5214 GB, free: 10.41 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001293/0.3794, allocations: 47.95 kB / 0.5215 GB, free: 10.4 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/0.3796, allocations: 59.12 kB / 0.5215 GB, free: 10.36 MB / 398.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3796, allocations: 0 / 0.5215 GB, free: 10.36 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02321/0.4028, allocations: 3.539 MB / 0.525 GB, free: 9.82 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.565/7.968, allocations: 5.562 kB / 0.525 GB, free: 9.816 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